When I run floydhub/HTML.ipynb,I encounter an problem.
Naruto-Zhao opened this issue · 5 comments
Naruto-Zhao commented
ModuleNotFoundError Traceback (most recent call last)
in ()
7 from keras.layers import Embedding, TimeDistributed, RepeatVector, LSTM, concatenate , Input, Reshape, Dense, Flatten
8 from keras.preprocessing.image import array_to_img, img_to_array, load_img
----> 9 from keras.applications.inception_resnet_v2 import InceptionResNetV2, preprocess_input
10 import numpy as np
ModuleNotFoundError: No module named 'keras.applications.inception_resnet_v2'
emilwallner commented
You need the Keras version 2.1.2 or later.
If you are using FloydHub, make sure you run the floyd command init and run "floyd run/init ..." inside the Screenshot-to-code-in-Keras/floydhub folder.
Masa-Shin commented
emilwallner commented
- Did you run "floyd init..." inside the floydhub folder?
- You have the wrong dataset version: "floyd run --gpu --env tensorflow-1.4 --data emilwallner/datasets/imagetocode/2:data --mode jupyter"
Masa-Shin commented
Solved. Thanks a lot!
Naruto-Zhao commented
Thanks you.