-
Notifications
You must be signed in to change notification settings - Fork 27
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
找不文件错误 #2
Comments
看一看感觉只有configs/pascal_voc/my.py的文件 你的好像不是官方的? |
你可以在mean_ap_visualize.py 365行(在 plt.savefig('/mmdetection/PR_Curve_each_class.png')之前一行)加上 plt.show() ,可以将PR曲线图自动展示出来再保存下来。目前,我也只能是这样解决这个问题,希望能对你有所帮助。 |
同样,在visualize.py中进行同样的操作,就可以画第一个 |
我把这一行代码里的路径改成绝对路径之后就可以正常保存图片了。 |
就是路径的问题,没有/mmdetection这个文件夹,可以改为./PR_Curve_each_class.png即可 |
'/mmdetection/PR_Curve_each_class.png'改成'./mmdetection/PR_Curve_each_class.png',加个点就行了。作者写相对路径的时候漏了个点。另外这些报错可不止路径的问题呀,你大概是用的新版mmdetection,需要重新修改mean_ap文件。 |
(mede) ii@ii-Legion-Y7000P-2019:~/mmdetection$ python tools/voc_eval_visualize.py result.pkl ./configs/faster_rcnn_r101_fpn_1x_coco.py |
我已经把那两个.py文件放到了正确的位置上,运行第一个脚本没有问题,在output文件夹,找到了生成的png文件,但是运行第二个文件用了下面这条命令```python tools/voc_eval_visualize.py result.pkl configs/pascal_voc/my.py
The text was updated successfully, but these errors were encountered: