megvii-research / pcb Goto Github PK
View Code? Open in Web Editor NEWOfficial code for CVPR 2022 paper "Relieving Long-tailed Instance Segmentation via Pairwise Class Balance".
License: Other
Official code for CVPR 2022 paper "Relieving Long-tailed Instance Segmentation via Pairwise Class Balance".
License: Other
Hello, thank you very much for your work. When I reproduce your code, I find that the code cannot run on a single GPU, and the following error occurs. I would like to ask how to run code on a single GPU.
RuntimeError: MaskRCNN: IterativeRoIHead: Shared2FCBBoxHead: CrossEntropyPCBLoss: Default process group has not been initialized, please make sure to call init_process_group.
Hi, I encountered a stuck issue when training in DDP, and here is the reason I figured out:
PCB/mmdet/models/losses/cross_entropy_pcb_loss.py
Lines 281 to 291 in 066cd92
the if branch starting from line 284 may be entered for some processes, and may not for others (e.g. some training images contain no labelled instance), so the gather function in line 289 will permanently wait for those processes that never execute line 284~288.
One possible solution is to check if all processes satisfy pos_inds.sum() > 0
. If not, do not update the confusion matrix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.