haofanwang / Lora-for-Diffusers

The most easy-to-understand tutorial for using LoRA (Low-Rank Adaptation) within diffusers framework for AI Generation Researchers🔥
MIT License
761 stars 50 forks source link

can't open file '/content/./scripts/convert_original_stable_diffusion_to_diffusers.py': [Errno 2] No such file or directory #20

Closed SmartAttendance closed 1 year ago

SmartAttendance commented 1 year ago

!cd ./diffusers

checkpoint_path = "/content/drive/MyDrive/sd/stable-diffusion-webui/models/Stable-diffusion/absolutereality_v181.safetensors" dump_path = "/content/drive/MyDrive/sd/stable-diffusion-webui/models/Converted-Model"

!python ./scripts/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path "{checkpoint_path}" --dump_path "{dump_path}" --from_safetensors

this throws error: Error: python3: can't open file '/content/./scripts/convert_original_stable_diffusion_to_diffusers.py': [Errno 2] No such file or directory

i am a beginner and don't know much about diffusers and all the other stuffs so please kindly help me.