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

AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'convolution' #2

Open
beratn opened this issue Apr 28, 2018 · 0 comments

Comments

@beratn
Copy link

beratn commented Apr 28, 2018

Hello everyone.I got this error in my raspberry pi.How to i fix it?

Using TensorFlow backend. Traceback (most recent call last): File "realtime_demo.py", line 143, in <module> main() File "realtime_demo.py", line 138, in main face = FaceCV(depth=depth, width=width) File "realtime_demo.py", line 27, in __init__ self.model = WideResNet(face_size, depth=depth, k=width)() File "/home/pi/Desktop/Keras_age_gender-master/wide_resnet.py", line 122, in __call__ use_bias=self._use_bias)(inputs) # "One conv at the beginning (spatial size: 32x32)" File "/home/pi/.local/lib/python3.5/site-packages/keras/engine/topology.py", line 619, in __call__ output = self.call(inputs, **kwargs) File "/home/pi/.local/lib/python3.5/site-packages/keras/layers/convolutional.py", line 168, in call dilation_rate=self.dilation_rate) File "/home/pi/.local/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 3329, in conv2d x = tf.nn.convolution( AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'convolution'

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