kohya-ss / kohya-ss/sd-scripts

Add "repeat" feature for fine tuning

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

Description

Each concept can have a different repeat in DreamBooth method. But metadata .json (fine tuning method) does not have the feature.

One idea is that the folder name for fine tuning can have repeats like ``_``. concept is ignored. If the repeat is not provided, it become 1. And merge_captions or merge_dd_tags script will append the repeat value to json.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the merge_captions and merge_dd_tags scripts and trace how fine-tuning metadata is created. Check how folder names are currently parsed, then implement the _ convention with a default repeat of 1 and confirm that the repeat value is appended to the generated JSON.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.