rom1504 / clip-retrieval

Easily compute clip embeddings and build a clip retrieval system with them
https://rom1504.github.io/clip-retrieval/
MIT License
2.42k stars 213 forks source link

Update prefetch_factor in clip_inference/reader.py #354

Open hknguyen20 opened 10 months ago

hknguyen20 commented 10 months ago

Sets prefetch_factor to None when there's no multiprocessing, as in torch dataloader since Nov 2022