-
Notifications
You must be signed in to change notification settings - Fork 122
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
Issues when testing the IMC-PT-SparseGM #65
Comments
Typically, the dataset is automatically downloaded. However, it seems that some issues are causing the dataset not to be downloaded correctly. You can provide more error information to help determine the cause of the issue. |
Thanks for the instructions. The dataset was downloaded as per the instructions and it was possible to run imcpt_50 dataset successfully. Thanks again. KeyError Traceback (most recent call last) /tmp/ipykernel_594776/3847300564.py in (.0) ThinkMatch/src/dataset/data_loader.py in init(self, name, bm, length, using_all_graphs, cls, problem) /opt/conda/lib/python3.7/site-packages/pygmtools/benchmark.py in compute_img_num(self, classes) KeyError: '70392907_4845953799' |
It seems that something goes wrong in the data preprocessing stage. Could you please provide the version of the pygmtools package you are using and how you run the imcpt_100 experiment? That will help detect the reason for the error. |
The pygmtools pakcage version is pygmtools==0.3.8. Also, the imcpt_100 experiment was tried to run using "python train_eval.py --cfg experiments/gcan-afat/vgg16_gcan-afat-i_imcpt_100_stage1.yaml". Thanks. |
Thanks for the info, I found the problem. Before you run the imcpt_100 experiment, you need to go to the Thanks for the issue! |
Thanks for the instructions and prompt reply. |
I tried to run the experiments related to IMC-PT-SparseGM dataset by executing "experiments/ngmv2-afat/vgg16_ngmv2-afat-u_imcpt_50_stage1.yaml".
When I run initially, I got the error "FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/pygmtools/data/IMC-PT-SparseGM.tar.gz'".
Then I updated the version of the pygmtools to version "0.4.3" and re-run. Then I got the following issue "AssertionError: you should not change ROOT_DIR_IMG or ROOT_DIR_NPZ unless the data have been manually downloaded".
Suggestions on how to fix the above issue and run the experiments related to IMC-PT-SparseGM dataset will be much appreciated.
The text was updated successfully, but these errors were encountered: