You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llava/action/llava_inference.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ def llava_inference(
21
21
test_type='base',
22
22
time_meta=None,
23
23
learn_neighbor_actions=False,
24
-
meta_data=None
24
+
meta_data=None,
25
+
perspective="first_person"
25
26
):
26
27
27
28
model.eval()
@@ -74,6 +75,7 @@ def llava_inference(
74
75
"mc_top5_official_key",
75
76
include_frame_time=False,
76
77
learn_neighbor_actions=learn_neighbor_actions,
78
+
perspective=perspective,
77
79
include_time_instruction=False)
78
80
79
81
question=f"You observed the video before and wrote down the notes: {caption_answer}. Now you watch the same video again and you can do better. "+question
0 commit comments