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

Commit f9bea89

Browse files
committed
don't put the state_dict into "state_dict"
1 parent 3d162ac commit f9bea89

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
@@ -437,7 +437,7 @@ def convert_text_enc_state_dict(text_enc_dict):
437437
if args.use_safetensors:
438438
save_file(state_dict, args.checkpoint_path)
439439
else:
440-
state_dict = {"state_dict": state_dict}
440+
#state_dict = {"state_dict": state_dict}
441441
torch.save(state_dict, args.clip_checkpoint_path)
442442

443443
print('Operation successfull')

0 commit comments

Comments
 (0)