Skip to content

Commit 841709e

Browse files
fix ckpt_path in e4t tuning
1 parent b8456a9 commit 841709e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tuning_e4t.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def main():
103103
unet = load_e4t_unet(
104104
pretrained_model_name_or_path=pretrained_args.pretrained_model_name_or_path,
105105
# load weight offsets from pre-trained model
106-
ckpt_path=os.path.join(args.pretrained_model_name_or_path, "weight_offsets.pt"),
106+
ckpt_path=args.pretrained_model_name_or_path,
107107
)
108108
# encoder
109109
e4t_encoder = load_e4t_encoder(

0 commit comments

Comments
 (0)