• Ashwin Bharambe's avatar
    Fix a bug in RPN proposal label generation · 3a38b7bc
    Ashwin Bharambe authored
    Summary:
    Negative labels were never set if `len(bg_inds) <= num_bg`. This
    condition happens when there aren't as many negative anchor samples compared to the
    typical batch size (256). Since detection scales are typically ~800, there are
    plenty of negative samples and this bug is likely never hit. In any case, it
    is certainly a bug which should be fixed!
    
    Reviewed By: rbgirshick
    
    Differential Revision: D9647703
    
    fbshipit-source-id: fada9f4f2e0a0b5c1619940328c505e73f9a1c7e
    3a38b7bc
Name
Last commit
Last update
.github Loading commit data...
cmake Loading commit data...
configs Loading commit data...
demo Loading commit data...
detectron Loading commit data...
docker Loading commit data...
projects/GN Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
FAQ.md Loading commit data...
GETTING_STARTED.md Loading commit data...
INSTALL.md Loading commit data...
LICENSE Loading commit data...
MODEL_ZOO.md Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...