Trouble reproducing attack and defense example (ART black box attack using Tesseract) #1509
Replies: 2 comments 2 replies
-
I got the same problem too |
Beta Was this translation helpful? Give feedback.
-
Hi @HexHexHex16 and @guiltycrazy Thank you very much for using ART raising this question! I think you are right, the recently added shape checks in For example in cell 11 we can fix it with somehting like: print('Tesseract output is: ' + label_dict[np.argmax(classifier_def.predict(np.expand_dims(image_target, axis=[0, -1])))]) but we probably should add a global solution by extending the shape of the images in cell 2 and adapt the following cells accrodingly. Please let me know if you would like to try to solve it, I would be happy to provide support and include it in the repo! Otherwise we'll try to fix it as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
ValueError: Unrecognized input dimension. JPEG compression can only be applied to image and video data.
Regardless of whether the previous code was executed or not.
Tracecall
To Reproduce
Expected behavior
System information (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions