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

Didn't support latest tensorflow 1.13 #932

Open
AnakinShieh opened this issue Apr 4, 2019 · 1 comment
Open

Didn't support latest tensorflow 1.13 #932

AnakinShieh opened this issue Apr 4, 2019 · 1 comment

Comments

@AnakinShieh
Copy link

When importing edwards,

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-61f9854c75fd> in <module>()
      4 from __future__ import print_function
      5 
----> 6 import edward as ed
      7 import matplotlib.pyplot as plt
      8 import numpy as np

~\Anaconda3\envs\tf1.13\lib\site-packages\edward\__init__.py in <module>()
      3 from __future__ import print_function
      4 
----> 5 from edward import criticisms
      6 from edward import inferences
      7 from edward import models

~\Anaconda3\envs\tf1.13\lib\site-packages\edward\criticisms\__init__.py in <module>()
      5 from __future__ import print_function
      6 
----> 7 from edward.criticisms.evaluate import *
      8 from edward.criticisms.ppc import *
      9 from edward.criticisms.ppc_plots import *

~\Anaconda3\envs\tf1.13\lib\site-packages\edward\criticisms\evaluate.py in <module>()
      8 
      9 from edward.models import RandomVariable
---> 10 from edward.util import check_data, get_session, compute_multinomial_mode, \
     11     with_binary_averaging
     12 

~\Anaconda3\envs\tf1.13\lib\site-packages\edward\util\__init__.py in <module>()
      8 from edward.util.metrics import *
      9 from edward.util.progbar import *
---> 10 from edward.util.random_variables import *
     11 from edward.util.tensorflow import *
     12 

~\Anaconda3\envs\tf1.13\lib\site-packages\edward\util\random_variables.py in <module>()
     13 from edward.util.graphs import random_variables
     14 from tensorflow.core.framework import attr_value_pb2
---> 15 from tensorflow.python.framework.ops import set_shapes_for_outputs
     16 from tensorflow.python.util import compat
     17 

ImportError: cannot import name 'set_shapes_for_outputs'
@zhiiiyang
Copy link

For now, you can temporarily solve the problem by installing tensorflow 1.2.0.
#918 (comment)

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

2 participants