MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / tarfile_samples_with_meta

Function tarfile_samples_with_meta

sat/sgm/webds.py:237–241  ·  view source on GitHub ↗
(src, meta_names, handler=reraise_exception)

Source from the content-addressed store, hash-verified

235
236
237def tarfile_samples_with_meta(src, meta_names, handler=reraise_exception):
238 streams = url_opener(src, handler=handler)
239 files = tar_file_expander_with_meta(streams, meta_names, handler)
240 samples = group_by_keys(files, handler=handler)
241 return samples
242
243
244class MetaDistributedWebDataset(DataPipeline):

Callers

nothing calls this directly

Calls 2

url_openerFunction · 0.70

Tested by

no test coverage detected