Megvii-BaseDetection / DenseTeacher

DenseTeacher: Dense Pseudo-Label for Semi-supervised Object Detection
Apache License 2.0
119 stars 12 forks source link

How to debug the project? #20

Closed liuhaolinwen closed 2 years ago

liuhaolinwen commented 2 years ago

i want to debug your code, could you tell me how to debug the project?

ZRandomize commented 2 years ago

pass 'DATALOADER.NUM_WORKERS 0' to trainer or tester, like 'cvpods_train --config xxx.py DATALOADER.NUM_WORKERS 0'. Then you can use debug tools like pdb or ptvsd.