yanboding commited on
Commit
c3941ce
·
verified ·
1 Parent(s): 95b36fc

Update inference_engine.py

Browse files
Files changed (1) hide show
  1. inference_engine.py +2 -2
inference_engine.py CHANGED
@@ -17,8 +17,8 @@ def run_inference(device, motion_data_path, ref_image_path='', dst_width=512, ds
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)
 
17
  to_pil = ToPILImage()
18
  normalize = transforms.Normalize([0.5], [0.5])
19
  pretrained_model_path = "THUDM/CogVideoX-5b"
20
+ transformer_path = "yanboding/MTVCrafter/MV-DiT/CogVideoX"
21
+ tokenizer_path = "mp_rank_00_model_states.pt"
22
 
23
  with open(motion_data_path, 'rb') as f:
24
  data_list = pickle.load(f)