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?
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?