This release of ART v1.4.2 provides updates to ART 1.4.
Added
- Added implementation of method
loss
forart.estimators.classification.TensorFlowClassifer
. (#685) - Added support for variable length input to
art.defences.preprocessor.MP3Compression
to make it compatible with estimatorart.estimators.speech_recognition.PyTorchDeepSpeech
. (#684) - Added support for
mask
in non-classification tasks withart.attacks.evasion.ProjectedGradientDescent
. (#682) - Added support for
torch.Tensor
as input forloss_gradient
ofart.estimators.object_detection.PyTorchFasterRCNN
. (#679) - Added support for
art.attacks.evasion.ProjectedGradientDescent
andart.attacks.evasion.FasGradientMethod
attacks onart.estimators.speech_recognition.PyTorchDeepSpeech
. (#669) - Added exception and explanation if target labels are not provided in
generate
ofart.attacks.evasion.ImperceptibleASRPytorch
. (#677) - Added support for preprocessing defences in
art.estimators.speech_recognition.PyTorchDeepSpeech
. (#663) - Added support for type
List
in argumentpatch_shape
ofart.attacks.evasion.DPatch
. (#662) - Added support for option
verbose
to allart.attacks
andart.defences
to adjust output of progress bars. (#647)
Changed
- Changed
art.attacks.evasion.AutoProjectedGradientDescent
to to support estimators for classification of all frameworks using the estimator's loss function, to use the new methodloss
of the Estimator API replacing internal custom loss functions and to disable for now the loss typedifference_logits_ratio
forart.estimators.classification.TensorFlowClassifer
(TensorFlow v1.x) because of inaccurate loss calculation. (#685) - Changed default format of returned values of method
predict
inart.estimators.speech_recognition.PyTorchDeepSpeech
from a tuple of probabilities and sequence lengths to an array of transcriptions (array of predicted strings) which is the same format as labelsy
and 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 usingPyTorchDeepSpeech
withProjectedGradientDescent
andFastGradientMethod
in cases where no labels are provided to their methodgenerate
and these attacks use the labels predicted byPyTorchDeepSpeech
's method predict. (#689) - Changed
art.attacks.evasion.DPatch
to improve initialisation of the patch for input ranges other than [0, 255] and updated the iteration over batches. (#681) - Changed
art.attacks.evasion.DPatch
to accept the updated return format of methodpredict
of estimators inart.estimators.object_detection
. (#667) - Changed return format of method
predict
of estimators inart.estimators.object_detection
to follow the format ofart.estimators.object_detection.PyTorchFasterRCNN
and typenp.ndarray
. (#660)
Removed
- Removed unsupported argument
loss_scale
inart.estimators.speech_recognition.PyTorchDeepSpeech
. (#642)
Fixed
- Fixed missing setting of property
targeted
inart.attacks.evasion.ImperceptibleASRPytorch
. (#676) - Fixed bug in method
loss
ofart.estimators.classification.KerasClassifier
. (#651) - Fixed missing attribute
batch_size
inart.attacks.evasion.SquareAttack
. (#646) - Fixed missing imports in
art.estimators.object_detection.TensorFlowFasterRCNN
. (#648) - Fixed bug in
art.attacks.evasion.ImperceptibleASRPytorch
to correctly applylearning_rate_2nd_stage
instead oflearning_rate_1st_stage
in the second stage. (#642)