Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求助,用CPU无法训练问题!!! #52

Open
BESTTENG opened this issue Sep 26, 2022 · 1 comment
Open

求助,用CPU无法训练问题!!! #52

BESTTENG opened this issue Sep 26, 2022 · 1 comment

Comments

@BESTTENG
Copy link

--training_device 改为 CPU后
parser.add_argument('--training_device', default='cpu', type=str,
help='The index of the GPU used for training models. cpu means using cpu')

还是出现
AssertionError: CUDA not available. If you have GPUs, please specify the ID after --gpu_devices. Otherwise, please train with CPU with python3 train.py --actor_device_cpu --training_device cpu

@daochenzha
Copy link
Collaborator

@BESTTENG 要加上 --actor_device_cpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants