castorini / daam

Diffusion attentive attribution maps for interpreting Stable Diffusion.
MIT License
689 stars 63 forks source link

ImportError: cannot import name 'plot_overlay_heat_map', 'expand_image' from 'daam' #23

Closed jena-shreyas closed 1 year ago

jena-shreyas commented 1 year ago

I installed daam in Google Colab with the following environment specs:-

Ubuntu 18.04 Python 3.8 Pytorch 1.13 CUDA 11.6

Screenshot from 2022-12-10 11-25-14

I encountered the following error when I tried to import 'plot_overlay_heat_map' and 'expand_image' from daam ('trace' and 'set_seed' were imported without any fuss though):

Screenshot from 2022-12-10 11-35-53

daemon commented 1 year ago

Ah yeah that colab was for an older version of DAAM. I’ll make another one soon!

daemon commented 1 year ago

Added Colab notebook for v0.0.11: https://colab.research.google.com/drive/1miGauqa07uHnDoe81NmbmtTtnupmlipv?usp=sharing