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 can i run this project in a single gpu #38

Open
KongBaiHC opened this issue Aug 19, 2021 · 1 comment
Open

How can i run this project in a single gpu #38

KongBaiHC opened this issue Aug 19, 2021 · 1 comment

Comments

@KongBaiHC
Copy link

I delete IMS_PER_DEVICE, and change IMS_PER_BATCH from 64 to 16 and use pods_train --num_gpu 1 to train. Then Default process group is not initialized is reported. It seems to YOLOF use SyncBN, but I didn't find it in config.py. Thanks.

@chensnathan
Copy link
Collaborator

YOLOF does not use SyncBN by default. This error is caused by the calculation of num_foreground. You can replace it with the new version to support training with one GPU.

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