lucidrains / DALLE2-pytorch

Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch
MIT License
11.03k stars 1.07k forks source link

making decoder dataloaders something wrong #110

Closed LearningJack closed 2 years ago

LearningJack commented 2 years ago

issue Could you help me? I had run the clip-retrieval and then generate the embedding.npy.But when I run the reorder-embeddings, it occured invalid literal for int() with base 10: 'img_test/COCO_train2014_000000581909'. How can I solve this problem?

rom1504 commented 2 years ago

You need to download using webdataset format when using img2dataset

On Mon, May 23, 2022, 14:36 LearningJack @.***> wrote:

[image: issue] https://user-images.githubusercontent.com/38984606/169820565-180a04d3-4f88-4ff6-83df-07d03838a208.jpg Could you help me? I had run the clip-retrieval and then generate the embedding.npy.But when I run the reorder-embeddings, it occured invalid literal for int() with base 10: 'img_test/COCO_train2014_000000581909'. How can I solve this problem?

— Reply to this email directly, view it on GitHub https://github.com/lucidrains/DALLE2-pytorch/issues/110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437U6UNXLP3HIBPDYWKLVLN3V3ANCNFSM5WVWRWBQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

LearningJack commented 2 years ago

But when I have my own dataset, how can I resolve this issue?

rom1504 commented 2 years ago

Same solution, you use webdataset format

On Mon, May 23, 2022, 14:57 LearningJack @.***> wrote:

But when I have my own dataset, how can I resolve this issue?

— Reply to this email directly, view it on GitHub https://github.com/lucidrains/DALLE2-pytorch/issues/110#issuecomment-1134643806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437VTZDTO3IJ5YBCEXTTVLN6D7ANCNFSM5WVWRWBQ . You are receiving this because you commented.Message ID: @.***>