Spaces:
Runtime error
Runtime error
Update inference_engine.py
Browse files- inference_engine.py +3 -3
inference_engine.py
CHANGED
@@ -16,9 +16,9 @@ def run_inference(device, motion_data_path, ref_image_path='', dst_width=512, ds
|
|
16 |
num_frames = 49
|
17 |
to_pil = ToPILImage()
|
18 |
normalize = transforms.Normalize([0.5], [0.5])
|
19 |
-
pretrained_model_path = "/
|
20 |
-
transformer_path = "
|
21 |
-
tokenizer_path = "
|
22 |
|
23 |
with open(motion_data_path, 'rb') as f:
|
24 |
data_list = pickle.load(f)
|
|
|
16 |
num_frames = 49
|
17 |
to_pil = ToPILImage()
|
18 |
normalize = transforms.Normalize([0.5], [0.5])
|
19 |
+
pretrained_model_path = "THUDM/CogVideoX-5b"
|
20 |
+
transformer_path = "./MV-DiT-7B"
|
21 |
+
tokenizer_path = "./4DMoT/mp_rank_00_model_states.pt"
|
22 |
|
23 |
with open(motion_data_path, 'rb') as f:
|
24 |
data_list = pickle.load(f)
|