ART 1.4.2
This release of ART v1.4.2 provides updates to ART 1.4.
Added
- Added implementation of method
lossforart.estimators.classification.TensorFlowClassifer. (#685) - Added support for variable length input to
art.defences.preprocessor.MP3Compressionto make it compatible with estimatorart.estimators.speech_recognition.PyTorchDeepSpeech. (#684) - Added support for
maskin non-classification tasks withart.attacks.evasion.ProjectedGradientDescent. (#682) - Added support for
torch.Tensoras input forloss_gradientofart.estimators.object_detection.PyTorchFasterRCNN. (#679) - Added support for
art.attacks.evasion.ProjectedGradientDescentandart.attacks.evasion.FasGradientMethodattacks onart.estimators.speech_recognition.PyTorchDeepSpeech. (#669) - Added exception and explanation if target labels are not provided in
generateofart.attacks.evasion.ImperceptibleASRPytorch. (#677) - Added support for preprocessing defences in
art.estimators.speech_recognition.PyTorchDeepSpeech. (#663) - Added support for type
Listin argumentpatch_shapeofart.attacks.evasion.DPatch. (#662) - Added support for option
verboseto allart.attacksandart.defencesto adjust output of progress bars. (#647)
Changed
- Changed
art.attacks.evasion.AutoProjectedGradientDescentto to support estimators for classification of all frameworks using the estimator's loss function, to use the new methodlossof the Estimator API replacing internal custom loss functions and to disable for now the loss typedifference_logits_ratioforart.estimators.classification.TensorFlowClassifer(TensorFlow v1.x) because of inaccurate loss calculation. (#685) - Changed default format of returned values of method
predictinart.estimators.speech_recognition.PyTorchDeepSpeechfrom a tuple of probabilities and sequence lengths to an array of transcriptions (array of predicted strings) which is the same format as labelsyand the returned values of other estimators inart.estimators.speech_recognition. The former output can still be obtained with optiontranscription_output=False. This change also enables usingPyTorchDeepSpeechwithProjectedGradientDescentandFastGradientMethodin cases where no labels are provided to their methodgenerateand these attacks use the labels predicted byPyTorchDeepSpeech's method predict. (#689) - Changed
art.attacks.evasion.DPatchto improve initialisation of the patch for input ranges other than [0, 255] and updated the iteration over batches. (#681) - Changed
art.attacks.evasion.DPatchto accept the updated return format of methodpredictof estimators inart.estimators.object_detection. (#667) - Changed return format of method
predictof estimators inart.estimators.object_detectionto follow the format ofart.estimators.object_detection.PyTorchFasterRCNNand typenp.ndarray. (#660)
Removed
- Removed unsupported argument
loss_scaleinart.estimators.speech_recognition.PyTorchDeepSpeech. (#642)
Fixed
- Fixed missing setting of property
targetedinart.attacks.evasion.ImperceptibleASRPytorch. (#676) - Fixed bug in method
lossofart.estimators.classification.KerasClassifier. (#651) - Fixed missing attribute
batch_sizeinart.attacks.evasion.SquareAttack. (#646) - Fixed missing imports in
art.estimators.object_detection.TensorFlowFasterRCNN. (#648) - Fixed bug in
art.attacks.evasion.ImperceptibleASRPytorchto correctly applylearning_rate_2nd_stageinstead oflearning_rate_1st_stagein the second stage. (#642)