tree3po commited on
Commit
f0797c1
1 Parent(s): 7f43b55

Update open_oasis_master/generate.py

Browse files
Files changed (1) hide show
  1. open_oasis_master/generate.py +2 -2
open_oasis_master/generate.py CHANGED
@@ -39,8 +39,8 @@ ctx_max_noise_idx = ddim_noise_steps // 10 * 3
39
  # get input video
40
  print(os.getcwd())
41
  video_id = "snippy-chartreuse-mastiff-f79998db196d-20220401-224517.chunk_001"
42
- mp4_path = f"{os.getcwd()}/sample_data/{video_id}.mp4"
43
- actions_path = f"{os.getcwd()}/sample_data/{video_id}.actions.pt"
44
  video = read_video(mp4_path, pts_unit="sec")[0].float() / 255
45
  actions = one_hot_actions(torch.load(actions_path,map_location=torch.device('cpu')))
46
  offset = 100
 
39
  # get input video
40
  print(os.getcwd())
41
  video_id = "snippy-chartreuse-mastiff-f79998db196d-20220401-224517.chunk_001"
42
+ mp4_path = f"{os.getcwd()}/./sample_data/{video_id}.mp4"
43
+ actions_path = f"{os.getcwd()}/./sample_data/{video_id}.actions.pt"
44
  video = read_video(mp4_path, pts_unit="sec")[0].float() / 255
45
  actions = one_hot_actions(torch.load(actions_path,map_location=torch.device('cpu')))
46
  offset = 100