Logging #1362
-
Hi guys, I have been using ART to generate adversarial examples using multiple algorithms and so far it works really smoothly. I have some problems with logging. I see that there are logging instances in the evasion attack files but ART does not create log files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Abhishek2271 Thank you very much for using ART! Are you already defining a logger before running ART? This example show how to set up the default logger that will be used by ART: https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/examples/adversarial_training_cifar10.py |
Beta Was this translation helpful? Give feedback.
Hi @Abhishek2271 Thank you very much for using ART! Are you already defining a logger before running ART? This example show how to set up the default logger that will be used by ART: https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/examples/adversarial_training_cifar10.py
That way you can set the logging level to capture more information and also define a file to save the logs, etc.