qingy2024 commited on
Commit
d30b9f6
·
verified ·
1 Parent(s): 5f5996c

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(
@@ -158,7 +158,7 @@ def main():
158
  if not Path('photography-model').exists():
159
  run_command('git clone https://github.com/ruo2019/photography-model.git')
160
 
161
- prefix = f"ACT75-verify2-InternVideo-{MODEL_NAME}"
162
  preds_file, logits_file = process_videos(
163
  'photography-model/data/ACT75.json',
164
  model, config, prefix,
 
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(
 
158
  if not Path('photography-model').exists():
159
  run_command('git clone https://github.com/ruo2019/photography-model.git')
160
 
161
+ prefix = f"ACT75-verify3-InternVideo-{MODEL_NAME}"
162
  preds_file, logits_file = process_videos(
163
  'photography-model/data/ACT75.json',
164
  model, config, prefix,