fast-stable-diffusion
fast-stable-diffusion copied to clipboard
ask for help
I want to train multiple animation characters at the same time, instead of training only one character at a time like the original dreamBooth code. I found your following code: https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb, But this code uses Google's colab,how can I modify this code so that I can use your code on my Linux server, look forward to your reply,thanks
if you have 15GB of VRAM, all you have to do is change the folders to match your local folders as for the dependencies, if you have a functioning AUTOMATIC1111, that should make it easier.
@zcdliuwei Check out my repo, universal-fast-stable-diffusion. You might still need to change the folders where the dependencies are copied to, though. I'm working on that myself, but it might be a while.
try this code to get the installation folder :
from subprocess import getoutput
s=getoutput('pip show wget')
s=s[213:259]
You can replace wget with any other package
thanks, When I use the downloadmodel function to download the model, I encounter the following error
fatal: Authentication failed for ' https://USER:[email protected]/runwayml/stable-diffusion-v1-5/'

I don't know what to do
remove the { } around the token
@zcdliuwei You should probably invalidate that token, now that it's posted here
Especially if it has write perms 😬
try this code to get the installation folder :
from subprocess import getoutput s=getoutput('pip show wget') s=s[213:259]You can replace wget with any other package
Thanks for the tip! I changed it around a bit to use .find() to get the location of the... location, and it works great.
@zcdliuwei Did you get this fixed?
I encountered a new error:
RuntimeError: No such operator xformers::efficient_attention_forward_generic - did you forget to build xformers with python setup.py develop?

What GPU are you using? Find it using !nvidia-smi
What GPU are you using? Find it using
!nvidia-smiV100

try !pip install xformers
try
!pip install xformers
Same error
you need to uninstall the previous xformers, and :
!pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers
you need to uninstall the previous xformers, and :
!pip install git+https://github.com/facebookresearch/xformers@51dd119#egg=xformers

check the xformers repo for a best way to install it