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

How to use diffpure to clean an already attacked adversarial image? #16

Open
pearlmary opened this issue Jul 26, 2023 · 5 comments
Open

Comments

@pearlmary
Copy link

Hi,

How do I feed an input adversarial image for diffpure adversarial cleaning?

@weilinie
Copy link
Contributor

You can directly pass the adversarial image to model.forward() in SDE_Adv_Model. By default, it will output a classification score and also save the purified image.

@pearlmary
Copy link
Author

Hi,
Thanks for the reply.
Still I'm unable to get it.
Can you guide me by listing out the step by step instructions on how to clean an adversarial image input.

@kabachuha
Copy link

@pearlmary I'm building a gradio extension (NV's license preserved) for Automatic1111's Stable Diffusion webui using the simple model inference call https://github.com/kabachuha/sd-webui-diffpure. It should allow for convenient processing of user selected images

@pearlmary
Copy link
Author

Thanks. Let me check it out.

@zhongguadepi
Copy link

您好, 感谢您的回复。 我仍然无法得到它。 您能否列出有关如何清理对抗性图像输入的分步说明来指导我。

Hello, have you resolved how to provide input adversarial images for diffpure adversarial cleaning?

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

4 participants