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
Describe the solution you'd like
Provide __setstate__ and __getstate__ implementations for all classifiers in order to support serialization with pickle. To be determined if all frameworks can support this. The function can build on the pre existing save function from the Classifier API.
Keras
MXNet
PyTorch
TensorFlow
The text was updated successfully, but these errors were encountered:
This release contains breaking changes to attacks and defenses with regards to setting attributes, removes restrictions on input shapes which enables the use of feature vectors and several bug fixes.
# Added
- implement pickle for classifiers `tensorflow` and `pytorch` (#39)
- added example `data_augmentation.py` demonstrating the use of data generators
# Changed
- renamed and moved tests (#58)
- change input shape restrictions, classifiers accept now any input shape, for example feature vectors; attacks requiring spatial inputs are raising expceptions (#49)
- clipping of data ranges becomes optional in classifiers which allows attacks to accept unbounded data ranges (#49)
- [Breaking changes] class attributes in attacks can no longer be changed with method `generate`, changing attributes is only possible with methods `__init__` and `set_params`
- [Breaking changes] class attributes in defenses can no longer be changed with method `generate`, changing attributes is only possible with methods `__call__` and `set_params`
- resolved inconsistency in PGD random_init with Madry's version
# Removed
- deprecated static adversarial trainer `StaticAdversarialTrainer`
# Fixed
- Fixed bug in attack ZOO (#60)
imolloy
pushed a commit
to imolloy/adversarial-robustness-toolbox
that referenced
this issue
Aug 5, 2019
Describe the solution you'd like
Provide
__setstate__
and__getstate__
implementations for all classifiers in order to support serialization with pickle. To be determined if all frameworks can support this. The function can build on the pre existingsave
function from theClassifier
API.The text was updated successfully, but these errors were encountered: