futurefantasy commited on
Commit
71e4c5c
·
verified ·
1 Parent(s): 1a123de

Fix full release frame extraction view deduplication

Browse files
scripts/extract_vlac2_release_frames.py CHANGED
@@ -169,7 +169,10 @@ def collect_episode_specs(benchmark_paths: list[Path]) -> tuple[list[EpisodeSpec
169
  stats["rows_missing_main_path"] += 1
170
  continue
171
  normalized = normalize_main_path(inferred_main_path)
172
- key = episode_group_key(normalized)
 
 
 
173
  if key not in grouped:
174
  grouped[key] = (normalized, {str(benchmark_path)})
175
  else:
 
169
  stats["rows_missing_main_path"] += 1
170
  continue
171
  normalized = normalize_main_path(inferred_main_path)
172
+ # Keep different camera views for the same episode separate. The
173
+ # benchmark's main_path can target wrist/head/bird/etc. views, and
174
+ # merging by episode drops required frame directories.
175
+ key = str(normalized)
176
  if key not in grouped:
177
  grouped[key] = (normalized, {str(benchmark_path)})
178
  else: