Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can anyone help me with these errors? #10

Open
superk007 opened this issue Apr 25, 2019 · 0 comments
Open

Can anyone help me with these errors? #10

superk007 opened this issue Apr 25, 2019 · 0 comments

Comments

@superk007
Copy link

vgg = VGG16(weights='imagenet', include_top=True, input_shape=(224,224,3))
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras\applications_init_.py", line 28, in wrapper
return base_fun(*args, **kwargs)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras\applications\vgg16.py", line 11, in VGG16
return vgg16.VGG16(*args, **kwargs)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras_applications\vgg16.py", line 210, in VGG16
model.load_weights(weights_path)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras\engine\network.py", line 1166, in load_weights
f, self.layers, reshape=reshape)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras\engine\saving.py", line 1058, in load_weights_from_hdf5_group
K.batch_set_value(weight_value_tuples)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\keras\backend\tensorflow_backend.py", line 2470, in batch_set_value
get_session().run(assign_ops, feed_dict=feed_dict)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call
return fn(*args)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "C:\Users\admin\Anaconda3\envs\tensorflow\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
TypeError: TF_SessionRun_wrapper: expected all values in input dict to be ndarray

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant