refine script

This commit is contained in:
Artiprocher
2024-06-05 13:34:55 +08:00
parent 78f53a0754
commit 0d03cb31ad

View File

@@ -256,7 +256,7 @@ if __name__ == '__main__':
# dataset and data loader
dataset = TextImageDataset(
args.dataset_path,
steps_per_epoch=args.steps_per_epoch,
steps_per_epoch=args.steps_per_epoch * args.batch_size,
height=args.height,
width=args.width,
center_crop=args.center_crop,