MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / get_seq_framenum

Method get_seq_framenum

eval_code/recons/datasets/sevenscenes.py:92–97  ·  view source on GitHub ↗
(self, index: Optional[int] = None, sequence_name: Optional[str] = None)

Source from the content-addressed store, hash-verified

90 return len(self.sequence_list)
91
92 def get_seq_framenum(self, index: Optional[int] = None, sequence_name: Optional[str] = None):
93 if sequence_name is None:
94 if index is None:
95 raise ValueError("Please specify either index or sequence_name")
96 sequence_name = self.sequence_list[index]
97 return self.metadata[sequence_name]
98
99 def __getitem__(self, idx_N):
100 """Fetch item by index and a dynamic variable n_per_seq."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected