mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-24 18:28:10 +00:00
refine script
This commit is contained in:
@@ -256,7 +256,7 @@ if __name__ == '__main__':
|
|||||||
# dataset and data loader
|
# dataset and data loader
|
||||||
dataset = TextImageDataset(
|
dataset = TextImageDataset(
|
||||||
args.dataset_path,
|
args.dataset_path,
|
||||||
steps_per_epoch=args.steps_per_epoch,
|
steps_per_epoch=args.steps_per_epoch * args.batch_size,
|
||||||
height=args.height,
|
height=args.height,
|
||||||
width=args.width,
|
width=args.width,
|
||||||
center_crop=args.center_crop,
|
center_crop=args.center_crop,
|
||||||
|
|||||||
Reference in New Issue
Block a user