kohya_ss icon indicating copy to clipboard operation
kohya_ss copied to clipboard

Docker deployment, model path not found during training

Open kaelem1 opened this issue 2 months ago • 2 comments

2024-04-30 20:49:50 12:49:50-177756 INFO headless: True
2024-04-30 20:49:50 12:49:50-228033 INFO Using shell=True when running external commands...
2024-05-01 10:38:44 02:38:44-720800 INFO headless: True
2024-05-01 10:38:44 02:38:44-766053 INFO Using shell=True when running external commands...
2024-05-01 12:16:53 Running on local URL: http://0.0.0.0:7860 2024-05-01 12:16:53 2024-05-01 12:16:53 To create a public link, set share=True in launch(). 2024-05-01 12:16:53 04:16:53-431934 INFO Applying preset SDXL - LoRA adafactor v1.0...
2024-05-01 12:16:53 04:16:53-433860 INFO Loading config...
2024-05-01 12:19:39 04:19:39-152059 INFO Start training LoRA Standard ...
2024-05-01 12:19:39 04:19:39-153179 INFO Validating lr scheduler arguments...
2024-05-01 12:19:39 04:19:39-154484 INFO Validating optimizer arguments...
2024-05-01 12:19:39 04:19:39-155478 INFO Validating model file or folder path
2024-05-01 12:19:39 G:\Comfyui\ComfyUI-aki-v1.3\models\checkpoints\sdXL_v10.safetensors
2024-05-01 12:19:39 existence...
2024-05-01 12:19:39 04:19:39-156855 ERROR ...source model path
2024-05-01 12:19:39 'G:\Comfyui\ComfyUI-aki-v1.3\models\checkpoints\sdXL_v10.safetensors' is
2024-05-01 12:19:39 missing or does not exist
2024-05-01 12:16:53 /home/1000/.local/lib/python3.10/site-packages/gradio/components/dropdown.py:179: UserWarning: The value passed into gr.Dropdown() is not in the list of choices. Please update the list of choices to include: .txt2 or set allow_custom_value=True. 2024-05-01 12:16:53 warnings.warn(

kaelem1 avatar May 01 '24 04:05 kaelem1

Have you verified you can actually access this file from within the docker container? Look like you can't: G:\Comfyui\ComfyUI-aki-v1.3\models\checkpoints\sdXL_v10.safetensors

bmaltais avatar May 01 '24 11:05 bmaltais

@kaelem1 Please read our readme about Docker, specifically the first item in the list. https://github.com/bmaltais/kohya_ss#design-of-our-dockerfile

Also, refer to the awesome Docker manual if you are not familiar with how it works. https://docs.docker.com/storage/bind-mounts/

jim60105 avatar May 01 '24 18:05 jim60105