-
Notifications
You must be signed in to change notification settings - Fork 16
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
cfg ERROR #5
Comments
I have not met this before. Can you start training or testing? |
I can start training, but the test process failed. |
What is the error |
may you leave an email? |
File "DIoU-pytorch-detectron-master/tools/../lib/core/test_engine.py", line 177, in test_net_on_dataset |
Try removing the brackets |
get_func(cfg.MODEL.CONV_BODY)()→get_func(cfg.MODEL.CONV_BODY) |
It will run into another environment like this: File "/anaconda3/envs/CenterNet_0.4.1/lib/python3.6/site-packages/torch/nn/modules/module.py", line 518, in getattr |
The cfg is [], the right cfg in config file is not transmitted rightly in this function. |
I will check this repo as soon as possible. But if I can run it normally, I'm willing to help but unable to do so about this. |
may be you can leave your email , it is not convenient chatting like this |
What does bbox_inside_weights and bbox_outside_weights in diou loss mean? |
bbox_inside_weights means the regression loss is activated only for positive anchors. As for mmdet, I'm sorry I don't have time to do it currently. |
I can train and test normally. I'm also curious that you can train but why cannot test. |
Thanks for your project!
In lib/modeling/model_builder.py, Generalized_RCNN doesn't receive the correct cfg from the config file, the cfg is just as the same as that in config.py. When the config is changed, it does not make sense. For example:
self.Conv_Body = get_func(cfg.MODEL.CONV_BODY)()
Here, the cfg.MODEL.CONV_BODY is [].
The text was updated successfully, but these errors were encountered: