Skip to content

Commit fd301b9

Browse files
author
Haozhe Qi
committed
minor updates
1 parent 7c1c20e commit fd301b9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llava/action/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ def format_task_related_prompt(question, question_type, meta_data = None, perspe
232232
"""
233233

234234
if perspective == "first_person":
235-
perspective_prefix = "You are seeing this video from egocentric view and you are the person. Your hands are sometimes interacting with obects. "
235+
perspective_prefix = "You are seeing this video from egocentric view and you are the person. Your hands are sometimes interacting with objects. What action are you doing?"
236236
elif perspective == "third_person":
237-
perspective_prefix = "The video is taken from egocentric view. What action is the person performing? "
237+
perspective_prefix = "The video is taken from egocentric view. The person's hands are sometimes interacting with objects. What action is the person doing?"
238238

239239
if question_type.startswith("mc_") or question_type == 'temporal_cot':
240240

run_llmseval_clariden.sbatch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ LAUNCHER="accelerate launch \
5252
PYTHON_FILE="-m lmms_eval"
5353
# PYTHON_ARGS=" \
5454
# --model llava_onevision \
55-
# --model_args pretrained=lmms-lab/llava-onevision-qwen2-0.5b-ov,conv_template=qwen_1_5,model_name=llava_qwen \
55+
# --model_args pretrained=experiments/llava-onevision-qwen2-0.5b-ov,conv_template=qwen_1_5,model_name=llava_qwen \
5656
# --tasks video_dc499 \
5757
# --batch_size 1 \
5858
# --log_samples_suffix llava_onevision \
@@ -63,7 +63,7 @@ PYTHON_FILE="-m lmms_eval"
6363
PYTHON_ARGS=" \
6464
--model llava_vid \
6565
--model_args pretrained=lmms-lab/LLaVA-Video-7B-Qwen2,conv_template=qwen_1_5,max_frames_num=64,mm_spatial_pool_mode=average \
66-
--tasks ai2d \
66+
--tasks videomme \
6767
--batch_size 1 \
6868
--log_samples \
6969
--log_samples_suffix llava_vid \

0 commit comments

Comments
 (0)