Skip to content

Commit f0d9908

Browse files
authored
fix: correct type in .py files (#52)
1 parent 8da9638 commit f0d9908

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

training/cogvideox_image_to_video_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def load_model_hook(models, input_dir):
599599
if args.resume_from_checkpoint != "latest":
600600
path = os.path.basename(args.resume_from_checkpoint)
601601
else:
602-
# Get the mos recent checkpoint
602+
# Get the most recent checkpoint
603603
dirs = os.listdir(args.output_dir)
604604
dirs = [d for d in dirs if d.startswith("checkpoint")]
605605
dirs = sorted(dirs, key=lambda x: int(x.split("-")[1]))

training/cogvideox_text_to_video_lora.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def collate_fn(data):
583583
if args.resume_from_checkpoint != "latest":
584584
path = os.path.basename(args.resume_from_checkpoint)
585585
else:
586-
# Get the mos recent checkpoint
586+
# Get the most recent checkpoint
587587
dirs = os.listdir(args.output_dir)
588588
dirs = [d for d in dirs if d.startswith("checkpoint")]
589589
dirs = sorted(dirs, key=lambda x: int(x.split("-")[1]))

training/cogvideox_text_to_video_sft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def collate_fn(data):
547547
if args.resume_from_checkpoint != "latest":
548548
path = os.path.basename(args.resume_from_checkpoint)
549549
else:
550-
# Get the mos recent checkpoint
550+
# Get the most recent checkpoint
551551
dirs = os.listdir(args.output_dir)
552552
dirs = [d for d in dirs if d.startswith("checkpoint")]
553553
dirs = sorted(dirs, key=lambda x: int(x.split("-")[1]))

0 commit comments

Comments
 (0)