Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adversarial examples #8

Open
jenyav94 opened this issue May 12, 2022 · 0 comments
Open

Adversarial examples #8

jenyav94 opened this issue May 12, 2022 · 0 comments

Comments

@jenyav94
Copy link

predict(np.array(img_adv))

сетка тут ломается от того что входная картинка приведена к диапозону [0,255], при ожидаемом [0,1]. Если этот поправить, то сломать ее уже ни так просто, не сильно меняя картинку.
im = Image.fromarray(np.uint8(input_im * 255))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant