-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to train ScratchDet with mmdetection? #9
Comments
@yanlongbinluck |
I have met the same error. |
in the ssd_root34_300.py, 'from ..registry import BACKBONES' and '@BACKBONES.register_module' are lost. |
@zwh-l while i run the command ./tools/dist_train.sh configs/ssd300_scratchdet_coco.py 2 --validate, i got an error: |
@jshuzi single_stage have no parameter of gt_bboxes_ignore |
@zwh-l sorry, i don't quite understand, which parts of the code should I modify? |
@zwh-l thank you very much. i have solved the above problem with your help. i use the ScratchDet to train my own data. But, i meet an new error, valueerror: expected input batch_size (8764) to match target batch_size (8732), have you met the error before? |
@jshuzi , I met,but I can't solve it. So I gave up and run ssd512_scratchdet. It can work. |
thanks for your great repo.
I put ssd300_scratchdet_coco.py into folder of mmdetection/configs;
put ssd_root34_300.py into mmdetection/mmdet/model/backbones,
and put ssdbn_head.py into mmdetection/mmdet/model/anchor_heads.
run ./tools/train.py configs/ssd300_scratchdet_coco.py, there are some errors: None is not in the backbone registry.
is my method right? or I need to set some other parameters?
thanks
The text was updated successfully, but these errors were encountered: