blei-lab / edward

A probabilistic programming language in TensorFlow. Deep generative models, variational inference.
http://edwardlib.org
Other
4.83k stars 761 forks source link

Attribution error for TensorFlow when running the PPCA example #948

Open PhatBoy44 opened 3 years ago

PhatBoy44 commented 3 years ago

When trying to run the PPCA example given, I get errors from TensorFlow.

Running version 1.14, I get: "AttributeError: module 'tensorflow.python.framework.op_def_registry' has no attribute 'register_op_list'"

If I go to newer versions, it throws the following error: "'No module named 'tensorflow.contrib'"

Ideas?

fatma-mahfoudh commented 3 years ago

I get the same error when just importing edward. Does anyone know how to fix it? I have tensorflow 2.0 image