Megvii-BaseDetection / Megvii-BaseDetection/OTA
Run on single gpu.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 246
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the losses function in fcos.py and the surrounding use of norm_sync, then trace what num_foreground represents. Check how the three distributed operations behave when running on one GPU. Done means documenting whether these lines are required, redundant, or safe to remove for single-GPU execution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- computer-vision, machine-learning
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100