Unable to open file
- 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,
- 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"?
Hi, You need to check the path of fullfile(data_root,eval_list),maybe it is not a right path.
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
Thank you for pointing out that I've forgotten to re-config the path.
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.