mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-26 09:18:59 +00:00
Textual Inversion: Added custom training image size and number of repeats per input image in a single epoch
This commit is contained in:
@@ -7,8 +7,8 @@ import tqdm
|
||||
from modules import shared, images
|
||||
|
||||
|
||||
def preprocess(process_src, process_dst, process_flip, process_split, process_caption):
|
||||
size = 512
|
||||
def preprocess(process_src, process_dst, process_size, process_flip, process_split, process_caption):
|
||||
size = process_size
|
||||
src = os.path.abspath(process_src)
|
||||
dst = os.path.abspath(process_dst)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user