google / style-aligned

Official code for "Style Aligned Image Generation via Shared Attention"
Apache License 2.0
1.23k stars 91 forks source link

ModuleNotFoundError: No module named 'sa_handler' #3

Closed StableDiffusionHub closed 12 months ago

StableDiffusionHub commented 12 months ago

When trying to run the colab notebook i get this error

ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-9-84fc88669986>](https://localhost:8080/#) in <cell line: 6>()
      4 import torch
      5 import mediapy
----> 6 import sa_handler

ModuleNotFoundError: No module named 'sa_handler'

what is sa_handler? how to correctly import it? thank you

a-r-r-o-w commented 12 months ago

You need to have this file to import it. Make sure you've cloned or saved the files correctly. It might that you are running the notebook directly without cloning the repo?

amirhertz commented 12 months ago

For running on colab, see https://github.com/camenduru/style-aligned-colab