kohya-ss / kohya-ss/sd-scripts

Kohya error in runpod

Open
#597 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

Hi Guys!
Ive installed Kohya ss linux version on my runpod and after a spending 2 hours fixing a error, found a new error after I press
train model in the dreambooth lora tab. Since i have very limited coding knowledge, i need help please.

root@1422e0b89586:/workspace/kohya_ss-linux# source venv/bin/activate
(venv) root@1422e0b89586:/workspace/kohya_ss-linux# python3 ./kohya_gui.py
Load CSS...

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
Traceback (most recent call last):
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/gradio/routes.py", line 384, in run_predict
output = await app.get_blocks().process_api(
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/gradio/blocks.py", line 1024, in process_api
result = await self.call_function(
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/gradio/blocks.py", line 836, in call_function
prediction = await anyio.to_thread.run_sync(
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/workspace/kohya_ss-linux/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/workspace/kohya_ss-linux/lora_gui.py", line 385, in train_model
repeats = int(folder.split('_')[0])
ValueError: invalid literal for int() with base 10: '.ipynb'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at lora_gui.py line 385, reached through the kohya_gui.py entry point when training is launched from the Dreambooth LoRA tab. Reproduce the traceback involving the folder value `.ipynb` and determine the expected behavior; done means this ValueError no longer blocks the reported training action.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.