Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting scipy error on running test_pgdtraining.py #148

Open
RamachandranSitaraman opened this issue Nov 4, 2023 · 0 comments
Open

Getting scipy error on running test_pgdtraining.py #148

RamachandranSitaraman opened this issue Nov 4, 2023 · 0 comments

Comments

@RamachandranSitaraman
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant