We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e17a62 commit fc60b27Copy full SHA for fc60b27
1 file changed
src/maxdiffusion/tests/ltx_transformer_step_test.py
@@ -39,7 +39,8 @@
39
40
41
def load_ref_prediction():
42
- saved_prediction_path = "../ltx_vid_transformer_test_ref_pred"
+ base_dir = os.path.dirname(__file__)
43
+ saved_prediction_path = os.path.join(base_dir, "ltx_vid_transformer_test_ref_pred")
44
predict_dict = torch.load(saved_prediction_path)
45
noise_pred_pt = predict_dict["noise_pred"].to(torch.float32)
46
return noise_pred_pt
0 commit comments