Closed metaphorz closed 2 years ago
I am trying the colab notebook, which begins with the first cell installing rudalle and rudalle-aspect-ratio.git. In cell "prepare all models and utils", the statement
sys.path.insert(0, './rudalle-aspect-ratio')
needs to use underscore characters:
sys.path.insert(0, './rudalle_aspect_ratio')
Otherwise, this error is generated:
ModuleNotFoundError Traceback (most recent call last)
in () 2 import sys 3 sys.path.insert(0, './rudalle-aspect-ratio') ----> 4 from rudalle_aspect_ratio import RuDalleAspectRatio, get_rudalle_model 5 from rudalle import get_vae, get_tokenizer 6 from rudalle.pipelines import show
ModuleNotFoundError: No module named 'rudalle_aspect_ratio'
This might be my error as I changed the runtime, and now the notebook seems to be working. Not sure what happened earlier.
Please close this issue.
I am trying the colab notebook, which begins with the first cell installing rudalle and rudalle-aspect-ratio.git. In cell "prepare all models and utils", the statement
sys.path.insert(0, './rudalle-aspect-ratio')
needs to use underscore characters:
sys.path.insert(0, './rudalle_aspect_ratio')
Otherwise, this error is generated:
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'rudalle_aspect_ratio'