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

Weird error, how do I fix it???' #67

Open
elliotmarks06 opened this issue May 7, 2021 · 0 comments
Open

Weird error, how do I fix it???' #67

elliotmarks06 opened this issue May 7, 2021 · 0 comments

Comments

@elliotmarks06
Copy link

Every time I run this, it runs into the same error.

WARNING:tensorflow:From C:\Users\ellio\.conda\envs\py36\lib\site-packages\tensorflow\python\ops\init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version. Instructions for updating: Call initializer instance with the dtype argument instead of passing it to the constructor Traceback (most recent call last): File "encode_images.py", line 243, in <module> main() File "encode_images.py", line 129, in main perceptual_model.build_perceptual_model(generator, discriminator_network) File "C:\Users\ellio\Projects\encoder2\encoder\perceptual_model.py", line 152, in build_perceptual_model self.perceptual_model = Model(vgg16.input, vgg16.layers[self.layer].output) File "C:\Users\ellio\.conda\envs\py36\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper return func(*args, **kwargs) File "C:\Users\ellio\.conda\envs\py36\lib\site-packages\keras\engine\network.py", line 95, in __init__ self._init_graph_network(*args, **kwargs) File "C:\Users\ellio\.conda\envs\py36\lib\site-packages\keras\engine\network.py", line 239, in _init_graph_network self.inputs, self.outputs) File "C:\Users\ellio\.conda\envs\py36\lib\site-packages\keras\engine\network.py", line 1355, in _map_graph_network tensor_index=tensor_index) File "C:\Users\ellio\.conda\envs\py36\lib\site-packages\keras\engine\network.py", line 1336, in build_map for i in range(len(node.inbound_layers)): TypeError: object of type 'Conv2D' has no len()

How do I fix this???

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