qingy2024 commited on
Commit
b562d03
·
verified ·
1 Parent(s): 36a382d

Update InternVideo2_6B_V5_ACT75_eval.py

Browse files
Files changed (1) hide show
  1. InternVideo2_6B_V5_ACT75_eval.py +2 -2
InternVideo2_6B_V5_ACT75_eval.py CHANGED
@@ -144,7 +144,7 @@ def main():
144
 
145
  os.chdir(iv2_path / 'InternVideo2' / 'multi_modality')
146
  sys.path.append(os.getcwd())
147
- run_command('git checkout fix-6b', cwd=os.getcwd())
148
 
149
  MODEL_NAME = '6B'
150
  vision_ckpt = download_checkpoint(
@@ -160,7 +160,7 @@ def main():
160
 
161
  prefix = f"ACT75-V5-InternVideo-{MODEL_NAME}"
162
  preds_file, logits_file = process_videos(
163
- 'photography-model/rustyjar/ACT75.json',
164
  model, config, prefix,
165
  num_frames_override=args.num_frames
166
  )
 
144
 
145
  os.chdir(iv2_path / 'InternVideo2' / 'multi_modality')
146
  sys.path.append(os.getcwd())
147
+ run_command('git checkout main', cwd=os.getcwd())
148
 
149
  MODEL_NAME = '6B'
150
  vision_ckpt = download_checkpoint(
 
160
 
161
  prefix = f"ACT75-V5-InternVideo-{MODEL_NAME}"
162
  preds_file, logits_file = process_videos(
163
+ 'photography-model/data/ACT75.json',
164
  model, config, prefix,
165
  num_frames_override=args.num_frames
166
  )