Incompatibility with TensorFlow 2
See original GitHub issueCurrent behaviour with TensorFlow 2:
Exception originated from within Sacred.
Traceback (most recent calls):
File "/.../lib/python3.6/site-packages/sacred/randomness.py", line 34, in set_global_seed
tf.set_random_seed(seed)
AttributeError: module 'tensorflow' has no attribute 'set_random_seed'
Cause:
tf.set_random_seed(seed) has changed to tf.random.set_seed(seed) in TensorFlow 2.
Configuration:
sacred==0.7.4
tensorflow==2.0.0-alpha0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:11
- Comments:10 (1 by maintainers)
Top Results From Across the Web
TensorFlow version compatibility
TensorFlow 1.2 might support GraphDef versions 4 to 7. · TensorFlow 1.3 could add GraphDef version 8 and support versions 4 to 8....
Read more >tensorflow2.0.0 compatibility with scipy · Issue #50517
tensorflow2.0.0 compatibility with scipy #50517 ... i'm using tensorflow 2.0.0 what version of scipy should i install ...
Read more >TensorFlow 2.5.0 incompatibility with NumPy 1.21+? (2021 ...
Necessary context: I am running this on my local machine, in a Python 3.9.7-configured environment. My NumPy version is 1.21.2 and my TensorFlow...
Read more >Step-by-step Guide to Install TensorFlow 2 | by Chitta Ranjan
Due to its ease-of-use, efficiency, and cross-compatibility TensorFlow 2.0 is going to change the landscape of Deep Learning. Here we will learn to...
Read more >Tensorflow Plugin - Metal
2. Install base TensorFlow. python -m pip install tensorflow-macos ... the node was colocated with a group of nodes that required incompatible device....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks you so much. It worked for me.
Also requires to change