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

File "/usr/local/lib/python3.5/dist-packages/keras_contrib-1.2.1-py3.5.egg/keras_contrib/backend/tensorflow_backend.py", line 10, in <module> ImportError: cannot import name '_postprocess_conv3d_output' #53

Closed
OrdinaryChen opened this issue Nov 21, 2017 · 2 comments

Comments

@OrdinaryChen
Copy link

OrdinaryChen commented Nov 21, 2017

The code raise this error when I try "python train.py "
but I check the egg file and found the "from keras.backend.tensorflow_backend import _postprocess_conv3d_output" in line10. so I try to use print(dir()) to show what this module contains.
but I can only see _preprocess_conv2d_input', '_preprocess_conv3d_input', '_preprocess_padding',
there is no function named _postprocess_conv3d_output
How can it be?

@tomonari-t
Copy link

tomonari-t commented Dec 8, 2017

@OrdinaryChen
I had same problem. It causes keras-contrib's this iuuse #164.

I fixed the problem to make Keras version to 2.0.8 by pip.

pip install Keras==2.0.8

@ahundt
Copy link
Collaborator

ahundt commented Dec 18, 2017

yeah need to use keras 2 now

@ahundt ahundt closed this as completed Dec 18, 2017
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

3 participants