-
Notifications
You must be signed in to change notification settings - Fork 2
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
FileNotFoundError: [Errno 2] No such file or directory: 'data/imagenet/classnames.txt' #2
Comments
@JiuqingDong Hi, thanks for your interest in our LoCoOp! |
Thank you for your reply. Yesterday, I used this file to evaluate the 16-shot pre-trained models you released. I got the average result as follows. Three results denote Seed 1, 2, and 3. Then I used the file you gave me. I got the same results. However, these results are inconsistent with those shown in Table 1 of your paper. I'm not sure if I did something wrong. ![]() I use the inference command 'CUDA_VISIBLE_DEVICES=0 bash scripts/locoop/eval.sh data imagenet vit_b16_ep50 1 output/imagenet/LoCoOp/vit_b16_ep50_16shots/nctx16_cscFalse_ctpend/seed1' |
Oh, it is strange. Could you give me the log file? Seed1 result is: |
Here is the log file for Seed 1. Thank you so much. |
What is the performance using CoOp's ckpt? |
log__.txt The results I obtained seem to be inconsistent with those published in the paper. Did you modify the code? |
I think I do not change my code. (I'm going to check now, just to be sure.) Could you check the Dataset setup, etc.? Besides, you can MCM repo to check your datasets are correct. https://github.com/deeplearning-wisc/MCM |
@JiuqingDong Sorry for the delay reply. |
Dear Author, I confirm that I used the file you gave me. The OOD datasets are downloaded from the MCM repository. May I ask one more question that: Sincerely, |
Thank you very much. When I totally re-tested(download the code, install the env...), I got a result that is consistent with yours. Maybe I did something wrong by mistake before. By the way, How to use your repository to implement CoOp? For example, comment out some modules or hyperparameters. |
I'm glad to hear it! |
I truly appreciate your timely help. |
Dear Authors,
Could you tell me how can I find this file 'data/imagenet/classnames.txt'?
when I run the command, there is a error:FileNotFoundError: [Errno 2] No such file or directory: 'data/imagenet/classnames.txt'
https://github.com/xmartlabs/caffeflow/blob/master/examples/imagenet/imagenet-classes.txt
Can I use this one?
The text was updated successfully, but these errors were encountered: