unifiedparsing icon indicating copy to clipboard operation
unifiedparsing copied to clipboard

No such file or directory: '/afs/csail.mit.edu/u/l/liuyingcheng/code/NetDissect/dataset_toy/ade20k/ADE20K_2016_07_26/index*.mat'

Open happyyuwei opened this issue 7 years ago • 9 comments
trafficstars

When I run the test demo, I found a problem. ADE20K_2016_07_26/index*.mat can not be found. I think I have downloaded all the datasets you provided, but I still don't know where is the file index*.mat.I If you can give me some advice, I will be very apprepriate. FileNotFoundError: [Errno 2] No such file or directory: '/afs/csail.mit.edu/u/l/liuyingcheng/code/NetDissect/dataset_toy/ade20k/ADE20K_2016_07_26/index*.mat'

happyyuwei avatar Sep 02 '18 06:09 happyyuwei

Sorry the repo is still under construction. We're solving some of the problems, since the original project wasn't written with PyTorch. It shouldn't take very long. Thanks for your interest!

Tete-Xiao avatar Sep 03 '18 19:09 Tete-Xiao

Hey, The pre-trained model has been released!

Tete-Xiao avatar Sep 12 '18 04:09 Tete-Xiao

Thank you!

happyyuwei avatar Sep 12 '18 06:09 happyyuwei

@Tete-Xiao ,i try hard to download dataset and config env, but sh demo_test.sh Namespace(arch_decoder='ppm_bilinear_deepsup', arch_encoder='resnet50_dilated8', batch_size=1, fc_dim=2048, gpu_id=0, imgMaxSize=1000, imgSize=[300, 400, 500, 600], model_path='baseline-resnet50_dilated8-ppm_bilinear_deepsup', num_class=150, num_val=-1, padding_constant=8, result='./', segm_downsampling_rate=8, suffix='_epoch_20.pth', test_img='ADE_val_00001519.jpg') Traceback (most recent call last): File "test.py", line 214, in main(args) File "test.py", line 121, in main weights=args.weights_encoder) File "/export/diskpool/unifiedparsing/models/models.py", line 180, in build_encoder raise Exception('Architecture undefined!') Exception: Architecture undefined!

tsingjinyun avatar Sep 20 '18 10:09 tsingjinyun

@Tete-Xiao when i tried to run demo_test.sh file, i still get error:

FileNotFoundError: [Errno 2] No such file or directory: './broden_dataset/ade20k/ADE20K_2016_07_26/index*.mat'

i see previous above thread, can't find the answer. can you please help me?

qiuyinglin avatar Nov 12 '18 22:11 qiuyinglin

You have to download the dataset before running the demo_test. If you have done, index*.mat would be found under the dictionary: ./broden_dataset/ade20k/ADE20K_2016_07_26

happyyuwei avatar Nov 13 '18 04:11 happyyuwei

@happyyuwei1994 thank you! i finally run ./download_Broden+.sh to download all necessary data, and the error is gone.

qiuyinglin avatar Nov 14 '18 22:11 qiuyinglin

@qiuyinglin you are welcome.

happyyuwei avatar Nov 15 '18 10:11 happyyuwei

@tsingjinyun hi,I also have same problems,can you tell me how to deal with the problem? thank you

poweryin avatar Jan 20 '19 03:01 poweryin