Skip to content

Commit fc60b27

Browse files
committed
changed path
1 parent 5e17a62 commit fc60b27

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/tests/ltx_transformer_step_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939

4040

4141
def load_ref_prediction():
42-
saved_prediction_path = "../ltx_vid_transformer_test_ref_pred"
42+
base_dir = os.path.dirname(__file__)
43+
saved_prediction_path = os.path.join(base_dir, "ltx_vid_transformer_test_ref_pred")
4344
predict_dict = torch.load(saved_prediction_path)
4445
noise_pred_pt = predict_dict["noise_pred"].to(torch.float32)
4546
return noise_pred_pt

0 commit comments

Comments
 (0)