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

how to run this code with cpu #58

Open
Chenhait opened this issue Sep 8, 2022 · 0 comments
Open

how to run this code with cpu #58

Chenhait opened this issue Sep 8, 2022 · 0 comments

Comments

@Chenhait
Copy link

Chenhait commented Sep 8, 2022

hi, thank you for your wonderful job!!!
I try to run this code on cpu.

I changed
profiling: [cpu]
in s_resnet50_train_val.yml

and run
python train.py app:apps/s_resnet50_train_val.yml

however, it still error
RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cpu

is there other place should change?

thank you again!!
best

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

1 participant