DSE-MSU / DeepRobust

A pytorch adversarial library for attack and defense methods on images and graphs
MIT License
995 stars 192 forks source link

Unsuessful running example #99

Open runner72 opened 2 years ago

runner72 commented 2 years ago

Could anyone help me out? many thanks $ python examples/image/test_PGD.py Traceback (most recent call last): File "C:\Users\Jing\Desktop\Demo\DeepRobust\examples\image\test_PGD.py", line 9, in from deeprobust.image.attack.pgd import PGD File "", line 259, in load_module File "C:\Users\Jing\AppData\Local\Programs\Python\Python39\lib\site-packages\deeprobust-0.2.3-py3.9.egg\deeprobust\image__init__.py", line 3, in File "", line 259, in load_module File "C:\Users\Jing\AppData\Local\Programs\Python\Python39\lib\site-packages\deeprobust-0.2.3-py3.9.egg\deeprobust\image\attack__init__.py", line 9, in File "", line 259, in load_module File "C:\Users\Jing\AppData\Local\Programs\Python\Python39\lib\site-packages\deeprobust-0.2.3-py3.9.egg\deeprobust\image\attack\cw.py", line 9, in File "", line 259, in load_module File "C:\Users\Jing\AppData\Local\Programs\Python\Python39\lib\site-packages\deeprobust-0.2.3-py3.9.egg\deeprobust\image\optimizer.py", line 17, in ImportError: cannot import name '_status_message' from 'scipy.optimize.optimize' (C:\Users\Jing\AppData\Local\Programs\Python\Python39\lib\site-packages\scipy\optimize\optimize.py)