Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions egoloc_2D_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,17 +492,7 @@ def select_top_n_frames_from_json(json_path, n, frame_index=None, flag=None, rec
else:
return invalid_list, top_n_frames

def process_task(
credentials,
video_path,
action,
grid_size,
total_frames,
search_anchor,
speed_folder,
frame_index=None,
flag=None
):
def process_task(credentials, video_path, action, grid_size, total_frames, search_anchor, speed_folder, frame_index=None, flag=None):
"""
Build a grid image, ask GPT-4V to pick the frame where the action starts
or ends, and return the chosen frame index.
Expand Down
157 changes: 44 additions & 113 deletions egoloc_3D_demo.py

Large diffs are not rendered by default.

Loading