yenchenlin / rl-attack-detection

Code for "Detecting Adversarial Attacks on Neural Network Policies with Visual Foresight"
MIT License
78 stars 13 forks source link

ModuleNotFoundError: No module named 'tensorflow_addons' #4

Open wang1351 opened 3 years ago

wang1351 commented 3 years ago

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?