Closed Chuan-10 closed 1 year ago
Hi! The code is written a bit confusingly here, the final line of raise FileNotFoundError will always trigger a create(), which assigns data_dict values to the PatchEmbeddingDataloaders. The actual caching of CLIP/DINO embeddings is done inside PatchEmbeddingDataloader.
Hi,
I noticed that the
load function
does not assign the cache value to theself.data_dict
in theclass PyramidEmbeddingDataloader
. Is it a bug? if not, why?Thank you for your time! Best, Chris