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

from models.VQA.VQA import VQA_MODEL, error while installing models #34

Open
rohit-kadam-hub opened this issue Feb 7, 2021 · 0 comments

Comments

@rohit-kadam-hub
Copy link

rohit-kadam-hub commented Feb 7, 2021

File "C:/Users/ADMIN/PycharmProjects/VQA/VQA_Demo/demo.py", line 25, in get_image_model
image_model = VGG_16(CNN_weights_file_name)
File "C:\Users\ADMIN\PycharmProjects\VQA\VQA_Demo\models\CNN\VGG.py", line 56, in VGG_16
model.add(ZeroPadding2D((1,1),input_shape=(3,224,224)))
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\engine\sequential.py", line 166, in add
layer(x)
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 75, in symbolic_fn_wrapper
return func(*args, **kwargs)
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\engine\base_layer.py", line 446, in call
self.assert_input_compatibility(inputs)
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\engine\base_layer.py", line 310, in assert_input_compatibility
K.is_keras_tensor(x)
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 695, in is_keras_tensor
if not is_tensor(x):
File "C:\Users\ADMIN\PycharmProjects\Kmean\venv\lib\site-packages\keras\backend\tensorflow_backend.py", line 703, in is_tensor
return isinstance(x, tf_ops._TensorLike) or tf_ops.is_dense_tensor_like(x)
AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'

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