You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @pavanireddys
Did you find the model in the static folder?
I am getting the following error while running app.py
(unable to open file: name = 'static/models/d1_ft_model.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
Hello everyone while executing the code in jupyter notebook the following error was occured. please anybody can help.
NameError Traceback (most recent call last)
in ()
1 # do not rerun!!
----> 2 save_bottleneck_features(location)
in save_bottleneck_features(location)
2 datagen = ImageDataGenerator(rescale=1./255)
3
----> 4 model = load_vgg16()
5
6 generator = datagen.flow_from_directory(train_data_dir,
in load_vgg16(weights_path)
1 def load_vgg16(weights_path='../vgg16_weights.h5'):
----> 2 model = Sequential()
3 model.add(ZeroPadding2D((1,1),input_shape=(3, img_width, img_height)))
4 model.add(Convolution2D(64, 3, 3, activation='relu'))
5 model.add(ZeroPadding2D((1,1)))
NameError: global name 'Sequential' is not defined
The text was updated successfully, but these errors were encountered: