I am seeing the following error when I try to import tensorflow_addons
with tensorflow 2.1
> import tensorflow_addons as tfa
AttributeError: module 'tensorflow_core._api.v2.random' has no attribute 'Generator'
There is an incompability between your Tensorflow and Tensorflow-addons versions. To solve your problem, uninstall your current version and replace it with the right one which you can get by checking this table
A little reminder: To check your Tensorflow version type in terminal:
python -c 'import tensorflow as tf; print(tf.__version__)'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With