mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-05 03:32:37 +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