Closed Kronemeyer closed 4 years ago
from art.classifiers.classifier import Classifier, ClassifierNeuralNetwork, ClassifierGradients
This error is caused by the refactor in later versions of Adversarial-Robustness-Toolkit. Please make sure to install the right version, which is 1.2.0
pip install adversarial-robustness-toolbox==1.2.0
After trying to install all the packages, requirements, and dependencies I am seeing three files that have the following imports:
from art.classifiers.classifier import Classifier, ClassifierNeuralNetwork, ClassifierGradients
Each of these is causing an error stating that the reference to 'classifier' cannot be found in the init.py file. I followed the link in the tutorial 01 (the hard way) to inspect the adversarial-robustness-toolbox (ART) files and found the following files:
And within the init.py file I found no mention of the three imports:
Inspecting some older releases of art, however, I do see the Classifier, ClassifierNeuralNework, and ClassifierGradients. Which release of art is being used for Athena?
Additionally, my pycharm is showing a warning that the Package requirement 'pytorch-gradual-warmup-lr' is not satisfied even though I have run
(athena_env) PS D:\585\src\tutorials> pip install git+https://github.com/ildoonet/pytorch-gradual-warmup-lr.git
and it shows as successfully built. It does, however, show on my conda listwarmup-scheduler.
Will the difference in names make a cause any issues? How does the pytorch-gradual-warmup-lr show up in your environment?