MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / list_categories

Method list_categories

embodiedscan/explorer.py:138–143  ·  view source on GitHub ↗

List the categories involved in the dataset.

(self)

Source from the content-addressed store, hash-verified

136 return len(self.data)
137
138 def list_categories(self):
139 """List the categories involved in the dataset."""
140 res = []
141 for cate, id in self.metainfo['categories'].items():
142 res.append({'category': cate, 'id': id})
143 return res
144
145 def list_scenes(self):
146 """List all scenes in the dataset."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected