Update InternVideo2_6B_V5_ACT75_eval.py
Browse files
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
|
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-
|
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 fix-6b', 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-verify2-InternVideo-{MODEL_NAME}"
|
162 |
preds_file, logits_file = process_videos(
|
163 |
'photography-model/data/ACT75.json',
|
164 |
model, config, prefix,
|