Skip to content

Commit d962825

Browse files
author
Ye Shaokai
committed
removed frame time
1 parent 7968191 commit d962825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action/llava_ov_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def llava_video_process(
8585
frame_time = time_meta['frame_time']
8686
print ('frame time', frame_time)
8787
frame_time = frame_time[0]
88-
time_instruciton = f"You are seeing a video taken from egocentric view. The video lasts for {video_duration:.2f} seconds, and {n_frames} frames are uniformly sampled from it. These frames are located at {frame_time}. What is the person doing? Format your answer letter. verb noun such as A. move knife."
88+
time_instruciton = f"You are seeing a video taken from egocentric view. The video lasts for {video_duration:.2f} seconds, and {n_frames} frames are uniformly sampled from it. What is the person doing? Format your answer letter. verb noun such as A. move knife."
8989

9090
frames = image_processor.preprocess(video_frames, return_tensors="pt")["pixel_values"].cuda().to(torch.bfloat16)
9191

0 commit comments

Comments
 (0)