Veldrovive / embedding-dataset-reordering

Reorders the embeddings generated by CLIP to be in line with the webdatasets generated by img2dataset.
MIT License
5 stars 3 forks source link

Something wrong with reorder #2

Open LearningJack opened 2 years ago

LearningJack commented 2 years ago

Could you help me? I run reorder-embeddings reorder --embeddings-folder img_emb_test/img_emb --metadata-folder img_emb_test/metadata/ --output-folder img_emb_test/order --index-width 3 --output-shard-width 5 and I found --index-width and --output-shard-width doesn't work.It always generate 6 nums filenames, such as the filename {img_emb_000000.npy, img_emb_000001.npy..img_emb_000015.npy}.