You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following error after pip install DeepRobust and trying to run test_pdgtraining.py
python test_pgdtraining.py
Traceback (most recent call last):
File "test_pgdtraining.py", line 1, in
from deeprobust.image.defense.pgdtraining import PGDtraining
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/init.py", line 3, in
from deeprobust.image import attack
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/attack/init.py", line 9, in
from deeprobust.image.attack import cw
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/attack/cw.py", line 9, in
from deeprobust.image.optimizer import AdamOptimizer
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/optimizer.py", line 17, in
from scipy.optimize.optimize import _status_message
ImportError: cannot import name '_status_message' from 'scipy.optimize.optimize' (/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/scipy/optimize/optimize.py)
The text was updated successfully, but these errors were encountered:
Getting the following error after pip install DeepRobust and trying to run test_pdgtraining.py
python test_pgdtraining.py
Traceback (most recent call last):
File "test_pgdtraining.py", line 1, in
from deeprobust.image.defense.pgdtraining import PGDtraining
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/init.py", line 3, in
from deeprobust.image import attack
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/attack/init.py", line 9, in
from deeprobust.image.attack import cw
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/attack/cw.py", line 9, in
from deeprobust.image.optimizer import AdamOptimizer
File "/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/deeprobust/image/optimizer.py", line 17, in
from scipy.optimize.optimize import _status_message
ImportError: cannot import name '_status_message' from 'scipy.optimize.optimize' (/Users/vrsitaraman/anaconda3/envs/DeepRobust/lib/python3.8/site-packages/scipy/optimize/optimize.py)
The text was updated successfully, but these errors were encountered: