rom1504 / clip-retrieval

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

Update prefetch_factor in clip_inference/reader.py #354

Open hknguyen20 opened 5 months ago

hknguyen20 commented 5 months ago

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

hknguyen20 commented 2 months ago

[heart] Hoang Khoi Nguyen (S.CECS) reacted to your message:


From: IF-chan @.> Sent: Monday, April 22, 2024 5:32:09 PM To: rom1504/clip-retrieval @.> Cc: Hoang Khoi Nguyen (S.CECS) @.>; Author @.> Subject: Re: [rom1504/clip-retrieval] Update prefetch_factor in clip_inference/reader.py (PR #354)

@IF-chan approved this pull request.

— Reply to this email directly, view it on GitHubhttps://github.com/rom1504/clip-retrieval/pull/354#pullrequestreview-2015420389, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVW4PN3C343IL3NW75CJPB3Y6VCRTAVCNFSM6AAAAABCSPNF46VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMJVGQZDAMZYHE. You are receiving this because you authored the thread.Message ID: @.***>