zsdonghao / text-to-image

Generative Adversarial Text to Image Synthesis / Please Star -->
https://github.com/zsdonghao/tensorlayer
598 stars 162 forks source link

MemoryError [solved] #4

Open neoctbits opened 7 years ago

neoctbits commented 7 years ago

When run data_loader.py, i got some problem:

[TL] Vocabulary from /home/lab/Desktop/text-to-image-master/vocab.txt : vocabulary with 5430 words (includes start_word, end_word, unk_word) start_id: 1 end_id: 2 unk_id: 5429 pad_id: 0

zsdonghao commented 7 years ago

it is MemoryError... you may need to solve it yourself

neoctbits commented 7 years ago

Thanks@zsdonghao,i had resolve the problem using dill module instead of pickle. but it also memery costly. The alternative way is merge data_ loader.py into train_txt2img.py to get rid of pickle.

zsdonghao commented 7 years ago

cool~ thank you I will mark it done~

qpwo commented 6 years ago

@boluanace can you post a GitHub gist of your merged data_loader.py and train_txt2img.py please? I am getting the memory error and it is killing me