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

Run on single gpu. #10

Open
kuazhangxiaoai opened this issue Nov 8, 2021 · 0 comments
Open

Run on single gpu. #10

kuazhangxiaoai opened this issue Nov 8, 2021 · 0 comments

Comments

@kuazhangxiaoai
Copy link

Good code! I am revising the code for sing gpu. and ask the of 3 lines of code in losses function(fcos.py).

if self.norm_sync:
   dist.all_reduce(num_foreground)
   num_foreground /= dist.get_world_size()

What's meaning of the 3 lines of code? Can I delete these?
Thanks.

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