Skip to content
Open
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
2 changes: 1 addition & 1 deletion ego4d_forecasting/datasets/ptv_dataset_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def clip_recognition_dataset(
if g_pathmgr.isfile(data_path):
try:
with g_pathmgr.open(data_path, "r") as f:
annotations = json.load(f)
annotations = json.load(f)['clips']
except Exception:
raise FileNotFoundError(f"{data_path} must be json for Ego4D dataset")

Expand Down