-
Notifications
You must be signed in to change notification settings - Fork 48
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 get 12 map? #28
Comments
Could send me your training log? |
I do not train the model I just test it on coco val use the weight you provided. |
the code I run has been send to you email. |
What's your detectron2 version? |
0.3 |
Please try this one to install detectron2 0.1 version
|
YOU install MD said that recommend the Pre-Built Detectron2 (Linux only) version with pytorch 1.5. I use the Pre-Built Detectron2 with CUDA 10.1 and pytorch 1.5. and I found detectron2 V0.1 just for pytorch 1.4 and use python -m pip install detectron2 -f |
I can just use V0.1.3 and meet /workspace/FewX-master/fewx/modeling/fsod/fsod_roi_heads.py in () ImportError: cannot import name 'nonzero_tuple' |
I tried the evaluation again and I can get the reported number.
|
you env is pytorch 1.5 . detectron2 v0.31 ? just run all.sh can get the result? |
I find the problem..... In your all.sh you do delete the ./support_dir/support_feature.pkl which inference needed ... plz delete it in your all.sh and plz delete the code self.logger.info("===========inference call===========") in your fewx/modeling/fsod/fsod_rcnn.py |
after motify the result I can get below.
|
I run all.sh and get nothing. so I use detetron demo predict code to generate the coco result and the resulte is to low.loading annotations into memory...
Done (t=0.50s)
creating index...
index created!
Loading and preparing results...
DONE (t=0.38s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type bbox
DONE (t=11.88s).
Accumulating evaluation results...
DONE (t=2.87s).
Average Precision (AP) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.011
Average Precision (AP) @[ IoU=0.50 | area= all | maxDets=100 ] = 0.020
Average Precision (AP) @[ IoU=0.75 | area= all | maxDets=100 ] = 0.010
Average Precision (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Precision (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.006
Average Precision (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.023
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 1 ] = 0.027
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets= 10 ] = 0.032
Average Recall (AR) @[ IoU=0.50:0.95 | area= all | maxDets=100 ] = 0.032
Average Recall (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.000
Average Recall (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.010
Average Recall (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.071
The text was updated successfully, but these errors were encountered: