-
Notifications
You must be signed in to change notification settings - Fork 11
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
Run get_rep.py #6
Comments
Dear @JackqqWang, Thank you for your interest. The You can find all the configurations for my experiments at https://github.com/Adamdad/DeRy/tree/main/configs/compute_sim. If you require additional configs, feel free to create your own or import pre-trained models from other repositories. Best regards. |
Hi @Adamdad, PYTHONPATH="$PWD" python simlarity/get_rep.py ./configs/compute_sim/resnet50_imagenet.py --out ./Feature/ but it raised error: FileNotFoundError: [Errno 2] No such file or directory: 'data/imagenet/meta/val.txt'
and
FileNotFoundError: ImageNet: [Errno 2] No such file or directory: 'data/imagenet/meta/val.txt' Did I run the code using the wrong config or the wrong way? Or it was the mistakenly use of the dataset? Thanks. |
Dear @Aris-z, Thank you so much for expressing interest in our work. It seems that you are encountering an ImageNet version issue. In older versions of ImageNet, data split files for train.txt and val.txt were provided, which the mmclassification package follows: However, in some of the latest versions, the data split is no longer specified using two txt files, but instead by employing a list of folders with class names. To resolve this issue, you can simply set the appropriate configuration to none in the config, which should then load the data according to the folder names.
I hope this helps! If you have any further questions or concerns, please feel free to reach out. Best regards. |
Hi @Adamdad, |
Dear @xuelexuebuhui Best |
indeed so! Thank you very much for clearing up my confusion. |
Dear @xuelexuebuhui , Best |
Hi Authors,
The text was updated successfully, but these errors were encountered: