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

Unable to open file #13

Open
hungnguyen0606 opened this issue Dec 26, 2016 · 4 comments
Open

Unable to open file #13

hungnguyen0606 opened this issue Dec 26, 2016 · 4 comments

Comments

@hungnguyen0606
Copy link

  1. When I run run.sh, I go following errors:
    Error using importdata (line 136)
    Unable to open file.

Error in eval_sub (line 3)
list = importdata(fullfile(data_root,eval_list));

Error in eval_all (line 72)
eval_sub(data_name,data_root,eval_list,model_weights,model_deploy,fea_cha,base_size,crop_size,data_class,data_colormap,

  1. Additionally, I wonder if I have to clone Deeplab v2 and copy it to the sub folder of PSP, or I just need to build caffe and use "run.sh"?
@yifan254
Copy link

Hi,
You need to check the path of fullfile(data_root,eval_list),maybe it is not a right path.

@mjohn123
Copy link

mjohn123 commented Dec 26, 2016

I have a cityscape folder in the /media/john/Software/cityscapes/. I fixed your first issue by copy the sampleIist folder to the cityscape folder following steps:

cp ./sampleIist /media/john/Software/cityscapes/

Finally, I change the eval_all.m as following:

data_root = '/media/john/Software/cityscapes';
eval_list = 'samplelist/cityscapes_val.txt';
save_root = 'mc_result/cityscapes/val/pspnet101_713/';
model_weights = 'model/pspnet101_cityscapes.caffemodel';
model_deploy = 'prototxt/pspnet101_cityscapes_713.prototxt';

Finally, we can list the subfolders in the cityscapes

$ ls cityscapes
leftImg8bit license.txt README samplelist

Good luck

@hungnguyen0606
Copy link
Author

Thank you for pointing out that I've forgotten to re-config the path.

@liaojiacai
Copy link

is there anybody have been finished the VOC2012 retraining? I have the same first problem,
"unable open file', I also have copy the list file to the subfolder of VOC2012,But it does't work.

This was referenced Oct 25, 2017
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

4 participants