Comments (9)
Hi @EIFY, thanks for digging deeper into the issue! Even if the code runs without errors, when commenting out the line, the zeroshot templates that you see are actually incorrect.
It seems like this was broken in a recent update to clip-benchmark
(a dependency of this code). Make sure you have clip-benchmark==1.4.0
installed as per the environment.yml
file; the version number should not be greater or less than that. Be sure to uncomment the code you commented out as well.
You may need to rerun all your evals after this fix, because it is likely all of the test sets were evaluated with the incorrect zeroshot templates.
from datacomp.
Looking over the issue again, I don't believe it would affect all of your evals, but it is probably still safer to rerun evals from scratch (delete the eval_results.jsonl
file for any models you've tried to evaluate).
from datacomp.
@djghosh13 Thanks for the replies — rolling back to clip-benchmark==1.4.0
indeed solves the issue. Just to confirm, are these the intended zeroshot_templates
?
zeroshot_templates=['age:a photo of a person {c} years old', 'gender:a photo of a {c}', 'race:a photo of a {c} person', 'toxic:a photo of a {c}']
from datacomp.
Yes, those are correct. Glad the issue was resolved!
from datacomp.
Personally I consider running the package with older or newer dependencies than specified some sort of off-label use, but I don't mind keeping this open till clip-benchmark
is fixed as a warning sign 😅
from datacomp.
I think we should keep this open until clip benchmark is fixed
from datacomp.
@rom1504 do you mean as a reminder to other potential users of datacomp? I've already opened LAION-AI/CLIP_benchmark#109 in CLIP_benchmark as an issue to remind us to fix this problem
from datacomp.
from datacomp.
Related Issues (20)
- Get 400 error when submitting jsonl to firebase, but successfully submit Slack notification HOT 2
- How to precompute and save model-based metric during download? HOT 2
- Workshop submission deadline HOT 3
- Appendix in the workshop paper submission HOT 2
- Will the training framework do upsampling when train-num-samples is far more than the amount of actual data HOT 8
- Not able to push data to google cloud storage HOT 1
- Tried evaluate the model on a local network only machine HOT 4
- Usage with AWS S3 and Ray HOT 5
- FMoW dataset and results variance HOT 1
- Dataset Size on Leaderboard HOT 1
- Conda environment build issue HOT 3
- 14% of SHA256 hashes not matching HOT 32
- the normal success rate and downloading speed? HOT 1
- Deduplication against evaluation sets HOT 1
- Remove CSAM, if present HOT 2
- Metadata for datacomp-large text-based filter HOT 1
- Pretraining dataset HOT 1
- Training log HOT 1
- Frequency of Leaderboard Updates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datacomp.