rohitgandikota / erasing

Erasing Concepts from Diffusion Models
https://erasing.baulab.info
MIT License
559 stars 34 forks source link

How to test erasing concept of NSFW finetuned models? #12

Closed hjinnkim closed 1 year ago

hjinnkim commented 1 year ago

Thank you for your interesting papers. I'm really impressed by your research.

I want to test the generation result of NSFW-nudity prompts with the provided finetuned model weights. But, when I sample the images with the prompts 'nudity', the model generate the nude images!

How can I generate images which 'nudity' is erased?

rohitgandikota commented 1 year ago

Thank you! I am not sure about your inference setup. Could you try and use our generation code provided in the eval-scripts folder? https://github.com/rohitgandikota/erasing/blob/main/eval-scripts/generate-images.py

If this still persists, please do let us know

rohitgandikota commented 1 year ago

closing this issue because of inactivity. Feel free to open it if the issue still persists