encord-team / text-to-image-eval

Evaluate custom and HuggingFace text-to-image/zero-shot-image-classification models like CLIP, SigLIP, DFN5B, and EVA-CLIP. Metrics include Zero-shot accuracy, Linear Probe, Image retrieval, and KNN accuracy.
https://encord.com
Apache License 2.0
35 stars 1 forks source link

feat: avoid refetch of downloaded encord data #52

Closed eloy-encord closed 6 months ago

eloy-encord commented 6 months ago

Use an internal project json to record the label rows that have been completely downloaded, thus avoiding any further check on their images. Also, after the first time the image files and labels are calculated they will be saved for easy access in future runs.

Also, label rows' contents that are already up-to-date won't be downloaded again, even when overwrite_annotations is set to True (via last edited datetime comparison).