aboutsummaryrefslogtreecommitdiffstats
path: root/modules/textual_inversion/preprocess.py
Commit message (Collapse)AuthorAgeFilesLines
* fix entropy point calculationcaptin4112022-10-191-15/+19
|
* Add auto focal point cropping to Preprocess imagescaptin4112022-10-191-5/+146
| | | | | | | | | | | This algorithm plots a bunch of points of interest on the source image and averages their locations to find a center. Most points come from OpenCV. One point comes from an entropy model. OpenCV points account for 50% of the weight and the entropy based point is the other 50%. The center of all weighted points is calculated and a bounding box is drawn as close to centered over that point as possible.
* [2/?] [wip] ignore OPT_INCLUDE_RANKS for training filenamesGreg Fuller2022-10-121-1/+3
|
* deepbooru: added option to use spaces or underscoresAUTOMATIC2022-10-121-52/+40
| | | | | | | deepbooru: added option to quote (\) in tags deepbooru/BLIP: write caption to file instead of image filename deepbooru/BLIP: now possible to use both for captions deepbooru: process is stopped even if an exception occurs
* resolved conflicts, moved settings under interrogate section, settings only ↵JC_Array2022-10-111-1/+1
| | | | show if deepbooru flag is enabled
* Merge branch 'AUTOMATIC1111:master' into deepdanbooru_pre_processJC-Array2022-10-111-1/+4
|\
| * Switched to exception handlingalg-wiki2022-10-111-3/+5
| |
| * Added .webp .bmpalg-wiki2022-10-101-1/+1
| |
| * Textual Inversion: Preprocess and Training will only pick-up image filesalg-wiki2022-10-101-1/+2
| |
| * Custom Width and Heightalg-wiki2022-10-101-9/+10
| |
| * Textual Inversion: Added custom training image size and number of repeats ↵alg-wiki2022-10-101-2/+2
| | | | | | | | per input image in a single epoch
* | added alpha sort and threshold variables to create process method in ↵JC_Array2022-10-101-1/+1
| | | | | | | | preprocessing
* | Merge branch 'deepdanbooru_pre_process' into masterJC-Array2022-10-101-2/+20
|\ \
| * | refactored the deepbooru module to improve speed on running multiple ↵JC_Array2022-10-101-2/+20
| |/ | | | | | | interogations in a row. Added the option to generate deepbooru tags for textual inversion preproccessing.
* | Custom Width and Heightalg-wiki2022-10-101-9/+10
| |
* | Textual Inversion: Added custom training image size and number of repeats ↵alg-wiki2022-10-101-2/+2
|/ | | | per input image in a single epoch
* removed unused import, fixed typoRaphael Stoeckli2022-10-061-2/+1
|
* Add sanitizer for captions in Textual inversionRaphael Stoeckli2022-10-061-0/+28
|
* add support for gelbooru tags in filenames for textual inversionAUTOMATIC2022-10-041-1/+3
|
* preprocessing for textual inversion addedAUTOMATIC2022-10-021-0/+75