You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipeline = StableDiffusionPipeline.from_pretrained(save_dir,torch_dtype=torch.float32)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'save_dir' is not defined
What should I do?
The text was updated successfully, but these errors were encountered:
Assuming you're running convert_lora_safetensor_to_diffusers.py, the model_id or save_dir in your case should be a hugging face repo of the base model or the path to a local copy of the diffuser
It's unclear which file you're trying to run/what you're trying to do.
If you're trying to load into your model, a lora safetensors file that uses Stable Diffusion 1.5 as the base, you can simply edit the convert_lora_safetensor_to_diffusers.py to replace onePieceWanoSagaStyle_v2Offset.safetensors with the path to your file
pipeline = StableDiffusionPipeline.from_pretrained(save_dir,torch_dtype=torch.float32)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'save_dir' is not defined
What should I do?
The text was updated successfully, but these errors were encountered: