Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 410c467

Browse files
Merge pull request #58 from kabachuha/patch-1
Remove clip_checkpoint_path from required args in conversion script
2 parents c5bceb2 + 7f748ea commit 410c467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/convert_diffusers_to_original_ms_text_to_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def convert_text_enc_state_dict(text_enc_dict):
368368

369369
parser.add_argument("--model_path", default=None, type=str, required=True, help="Path to the model to convert.")
370370
parser.add_argument("--checkpoint_path", default=None, type=str, required=True, help="Path to the output model.")
371-
parser.add_argument("--clip_checkpoint_path", default=None, type=str, required=True, help="Path to the output CLIP model.")
371+
parser.add_argument("--clip_checkpoint_path", default=None, type=str, help="Path to the output CLIP model.")
372372
parser.add_argument("--half", action="store_true", help="Save weights in half precision.")
373373
parser.add_argument(
374374
"--use_safetensors", action="store_true", help="Save weights use safetensors, default is ckpt."

0 commit comments

Comments
 (0)