-
Notifications
You must be signed in to change notification settings - Fork 79
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
[CPR] An error occurred while running code #72
Comments
Hi, thanks for this report. this is due to some files(TOV_mmdetection/mmdet/models/detectors/base.py and TOV_mmdetection/mmdet/models/detectors/single_stage.py) are not updated. |
Thank you for your reply |
Thanks for feedback. The problem can be solved by add **kwargs in the functions‘ defination just like this |
Sorry for that, I forget there is another function defination should be change, you can check there |
Thanks again. This problem have been solved by replace the TOV_mmdetection/mmdet/apis/train.py as the commit told. |
https://github.com/ucas-vg/P2BNet/blob/main/TOV_mmdetection/mmdet/core/evaluation/eval_hooks.py |
I have updatd the eval_hooks.py. And eval_hooks.py in P2B should work too. |
Does the problem still exists? |
The problem have been solved by replacing TOV_mmdetection/mmdet/datasets/coco.py. you can re-evaluate CPR by resuming from trained parameter with 'resume-from' args and then use result2ann.py to transform result to annotation.
|
Thanks, the problem is mostly solved |
When I execute the code [cmd 0], I find a problem, as shown below. I found that the implementation of evaluation seems to be missing in the code. Could you provide it? I would appreciate it if you could.



python=3.7 cuda=11.6 memory size=40G A100
The text was updated successfully, but these errors were encountered: