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

[Bug] Keras 2.0.6 & Tensorflow compatibility #6

Open
ericnrobertson opened this issue Feb 8, 2021 · 2 comments
Open

[Bug] Keras 2.0.6 & Tensorflow compatibility #6

ericnrobertson opened this issue Feb 8, 2021 · 2 comments

Comments

@ericnrobertson
Copy link

ericnrobertson commented Feb 8, 2021

Some versions of tensorflow seem to be incompatible with Keras 2.0.6, unaddressed by pip installation listed in docs.

Traceback (most recent call last):
File "/Exploratory/DeepIV.py", line 5, in
from deepiv.models import Treatment, Response
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/deepiv/models.py", line 6, in
import deepiv.samplers as samplers
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/deepiv/samplers.py", line 4, in
from keras import backend as K
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/keras/init.py", line 4, in
from . import activations
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/keras/activations.py", line 6, in
from .engine import Layer
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/keras/engine/init.py", line 8, in
from .training import Model
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/keras/engine/training.py", line 25, in
from .. import callbacks as cbks
File "/anaconda3/envs/deepiv/lib/python3.6/site-packages/keras/callbacks.py", line 26, in
from tensorflow.contrib.tensorboard.plugins import projector
ModuleNotFoundError: No module named 'tensorflow.contrib'

@XingruiWang
Copy link

XingruiWang commented May 26, 2021

The implementation in TensorFlow 2 is almost finished, see here.

@jhartford
Copy link
Owner

@XingruiWang thank you so much for 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

3 participants