Skip to content

Useful scripts for generating training sets and working with stable diffusion training.

Notifications You must be signed in to change notification settings

jimtalksdata/stable_scripts

Repository files navigation

stable_scripts

Useful scripts for generating training sets and working with stable diffusion training.

create_ngram_list.py

Creates a ngram frequency list, sorted by frequency, of all words in .txt files in the given directory

find_replace_words_in_files.py

A general find/replace script for caption files. See comment docs.

hydrus_files_to_txt_caption.py

A specific processor for hydrus-exported .txt files to make them useful for stable diffusion. Supports adding prefixes, suffixes, and removing tokens.

rename_txt_files.py

Renames txt files with extension .jpg.txt (or similar) to just .txt

rename_files.py

Simple find/replace of file names

About

Useful scripts for generating training sets and working with stable diffusion training.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages