paarthneekhara / text-to-image

Text to image synthesis using thought vectors
MIT License
2.16k stars 394 forks source link

Trying to generate images using pre-trained model #2

Closed jikkujose closed 8 years ago

jikkujose commented 8 years ago

What I did

['pink flower with green leaves']
Loading model parameters...
Traceback (most recent call last):
  File "generate_thought_vectors.py", line 32, in <module>
    main()
  File "generate_thought_vectors.py", line 23, in main
    model = skipthoughts.load_model()
  File "/Users/jikkujose/Projects/outside_projects/text-to-image/skipthoughts.py", line 38, in load_model
    with open('%s.pkl'%path_to_umodel, 'rb') as f:

Specs

paarthneekhara commented 8 years ago

I think you did not download the skipthought vectors pretrained models. Download all the files from this link.. https://github.com/ryankiros/skip-thoughts#getting-started, and save them in Data/skipthoughts as given in the project's readme. Let me know if you face any other problem.

jikkujose commented 8 years ago

Oh yes! Missed that, thanks!