Comments (10)
Hi! Looking over your code the two major differences I noticed between your implementation and the one found in dataset2metadata
are
- we use the openai CLIP repo directly for the preprocessing, though the weights are the same and this should not be an issue
- we conduct inference in half precision (
fp16
), notfp32
during metadata generation
Can you try 2. and let me know if you are still running into issues? Thanks!
from datacomp.
tagging @djghosh13, who will know cache_dir
and flick_1k
specifics
from datacomp.
@mingtan2 sorry for the inconvenience! Some of the datasets were added later as Huggingface datasets (as opposed to webdataset for the original datasets), and so were not included in the download_evalsets.py
script. I'll push an update to fix this soon. Additionally, the flickr_1k
error is most likely because it's trying to download a webdataset that doesn't exist.
from datacomp.
Submitted a PR to fix this at #21; once it goes through you should be able to re-run download_evalsets.py
without error, and run evaluate.py
as intended (specifying --data_dir
)
from datacomp.
@sagadre , Thank you so much for the quick reply.
I found using the original un-resized images reduces the difference a lot (average absolute diff from 0.007 to 0.003). Changing to fp16
further helps but cannot eliminate the difference completely. Anyway, I think the final difference is acceptable.
BTW, are submitted results updated in realtime in https://www.datacomp.ai/leaderboard.html
?
Thanks.
from datacomp.
@mingtan2 great that the differences are looking lower now. just to confirm, are you using our default img2dataset
configuration from our download_upstream.py script? If not that could be yet another source of the discrepancy.
as for the leaderboard, submissions are not currently updated in realtime. we have been checking submissions frequently on our end 🙂
from datacomp.
@sagadre Yes, I used the default configs with python3 download_upstream.py --scale medium --data_dir /path/to/medium --processes_count 64
.
Thanks for the info about the leaderboard update.
from datacomp.
@sagadre Can I know why a few datasets have disabled the cache_dir
, e.g., here? In addition, it seems flick_1k
cannot be downloaded using download_evalsets.py
due to "Username/Password Authentication Failed." I need this because my some of my compute notes have no network access and need offline eval. Thanks a lot.
from datacomp.
@sagadre Can I know when the leaderboard will be updated and the updating frequency? Thanks!
from datacomp.
@mingtan2 We will definitely update the leaderboard with community submissions before the DataComp ICCV workshop.
from datacomp.
Related Issues (20)
- 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
- `zeroshot_templates` split error for FairFace / UTKFace HOT 9
- 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
- About update metadata with the corresponding image sample in shards HOT 2
- ModuleNotFoundError: No module named 'training' HOT 2
- Availability of npy indices for large pool
- Average caption length for CommonPool HOT 1
- Downloading Commonpool XLarge
- ImageNet 21k based filtered dataset HOT 1
- Invalid files for Datacomp1B
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.