Skip to content
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

FileNotFoundError: [Errno 2] No such file or directory: 'attentions/2_shots_10_mean_class_attentions.pkl' #55

Open
zr526799544 opened this issue Dec 21, 2020 · 3 comments

Comments

@zr526799544
Copy link

I run CUDA_VISIBLE_DEVICES=0 python test_metarcnn.py --dataset pascal_voc_0712 --net metarcnn --load_dir models/1st --checksession 10 --checkepoch 30 --checkpoint 111 --shots 10 --meta_type 1 --meta_test True --meta_loss True --phase 2 and get the result. I can not find the file 2_shots_10_mean_class_attentions.pkl , and can not find how to generate it.

@hanhao2019102935
Copy link

I also met the same problem, if you solve it, could you tell me this method?My WeChat is :H178337111

@zr526799544
Copy link
Author

I also met the same problem, if you solve it, could you tell me this method?My WeChat is :H178337111

I notice that train can generate 2_shots_10_mean_class_attentions.pkl but meet another problem File "/workspace/project2/MetaR-CNN-master/lib/datasets/pascal_voc.py", line 100, in image_path_from_index
'Path does not exist: {}'.format(image_path)
AssertionError: Path does not exist: ./data/VOCdevkit2012/VOC2012/JPEGImages/000012.jpg. It seems that the code change the way to locate the img path.

@hanhao2019102935
Copy link

I also met the same problem, if you solve it, could you tell me this method?My WeChat is :H178337111

I notice that train can generate 2_shots_10_mean_class_attentions.pkl but meet another problem File "/workspace/project2/MetaR-CNN-master/lib/datasets/pascal_voc.py", line 100, in image_path_from_index
'Path does not exist: {}'.format(image_path)
AssertionError: Path does not exist: ./data/VOCdevkit2012/VOC2012/JPEGImages/000012.jpg. It seems that the code change the way to locate the img path.

This problem I observed before, but I don't have much time to do training yet, so if you got the ttentions / 2 _shots_10_mean_class_attentions. pkl, can share with me?In addition, I haven't encountered the path problem you mentioned, but it should not be difficult to solve according to the error report as long as you change the storage location of the file.

I am eager to get your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants