mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #204] Zeroshot evaluation CIFAR100 in Colab: Results ~0.5% below values reported in paper #179
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @andsteing on GitHub (Jan 2, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/204
Hi
Thanks so much for providing this repository and the notebooks!
I'm debugging diffs in the zeroshot evaluation results from a JAX port of this repository (
scenic.projects.baselines.clip) and as part of this work I'm trying to reproduce the exact numbers published in the paper https://arxiv.org/abs/2103.00020 (Table 11).I created a short Colab based on the provided notebooks where I'm zeroshot-evaluating CLIP models on the CIFAR100 dataset:
https://colab.research.google.com/github/andsteing/CLIP/blob/zeroshot/notebooks/zeroshot_evaluation.ipynb#scrollTo=Mo-MYo3Flgth
I get the following results:
So the results are still about 0.5% short from what I would expect after reading the paper.
Any idea what this small difference could be due to?
Best, Andreas
@jongwook commented on GitHub (Apr 11, 2022):
Hi,
There can be numerical differences that we cannot fully control, e.g. different CUDA and driver versions, batch sizes, hardware, etc., that may cause the 0.5% difference in evals.
That being said, have you tried with the 18 prompts in this document?
@Calmepro777 commented on GitHub (Dec 11, 2022):
Hello,
I would be grateful if the prompt and other settings related to the zero-shot result on Cifar-100, Cifar-10 can be revealed.
In research, we would like to know if our experimental settings are correct and optimal, otherwise reviewers could challenge this.
Regards
@Calmepro777 commented on GitHub (Dec 11, 2022):
Here is the best results I obtained:
image encoder: ViT-B/16
prompt: "itap of a {label}."