rl-attack-detection icon indicating copy to clipboard operation
rl-attack-detection copied to clipboard

ModuleNotFoundError: No module named 'tensorflow_addons'

Open wang1351 opened this issue 4 years ago • 0 comments

Hi, I got this issue when running the code:

File "/home/ubuntu/src/cleverhans/cleverhans/attacks/init.py", line 27, in from cleverhans.attacks.spsa import SPSA, projected_optimization File "/home/ubuntu/src/cleverhans/cleverhans/attacks/spsa.py", line 9, in import tensorflow_addons as tfa ModuleNotFoundError: No module named 'tensorflow_addons'

However, tensorflow_addons is only for tf2, but your codes are based on tf 1. How could I solve this problem?

wang1351 avatar Feb 22 '21 10:02 wang1351