Kyfafyd / MirrorGAN

Reproduction of the paper MirrorGAN: Learning Text-to-image Generation by Redescription
MIT License
25 stars 4 forks source link

What are the functions of list1.txt and list2.txt in preprocess.py? #3

Closed kj-wu closed 4 years ago

kj-wu commented 4 years ago

I'm trying to train with my own dataset, but I'm having some problems with preprocessing,Can you tell me What are the functions of list1.txt and list2.txt in preprocess.py?

Kyfafyd commented 4 years ago

I'm trying to train with my own dataset, but I'm having some problems with preprocessing,Can you tell me What are the functions of list1.txt and list2.txt in preprocess.py?

Thanks for interest! The script preprocess.py is used as a demo for generate discriptions for every image. I just use the image name as the description. So you can use much more accurate text for training.