castorini / daam

Diffusion attentive attribution maps for interpreting Stable Diffusion.
MIT License
696 stars 64 forks source link

Add Stable Diffusion V2 support #9

Closed daemon closed 2 years ago

daemon commented 2 years ago

Add Stable Diffusion V2 support.

federicotorrielli commented 2 years ago

This is awesome, really looking forward!

EDIT: between tomorrow and the day after the diffusion team is going to update the diffusers package, I reckon you should wait until 0.9.0

daemon commented 2 years ago

Cool, that sounds about right.

federicotorrielli commented 2 years ago

Diffusers 0.9.0 is out

daemon commented 2 years ago

Yep! I'm currently swamped with extending the paper, but I'll get around to it. If you (or anyone) wants to submit a PR for it, I'd also be happy to review.

EDIT: Actually, I'll spend a bit of time tonight to see if I can do it quickly.

federicotorrielli commented 2 years ago

I can take a look at the code for sure, but I'll bet that you and the other authors could do a better job at it than me

daemon commented 2 years ago

Updated to support V2. Check out the readme for the CLI utility as well.