mapvggt / mapgs /data /convert /__init__.py
ChenmingWu's picture
Upload folder using huggingface_hub
b2efbe4 verified
Raw
History Blame Contribute Delete
911 Bytes
"""Converters from source datasets to the unified clip format (mapgs.data.unified).
* convert_synthetic — runnable anywhere; also the end-to-end verification path.
* convert_waymo — needs ``waymo-open-dataset`` + the Waymo v2 data.
* convert_argoverse2 — needs the ``av2`` devkit + the AV2 Sensor data.
All three call :func:`mapgs.data.unified.write_unified_clip`, so the network's
data path is identical regardless of source.
"""
from mapgs.data.convert.synthetic_to_unified import convert_synthetic
__all__ = ["convert_synthetic"]
# Real-dataset converters are imported lazily (they pull in heavy SDKs):
def convert_waymo(*args, **kwargs):
from mapgs.data.convert.waymo_to_unified import convert_waymo as _f
return _f(*args, **kwargs)
def convert_argoverse2(*args, **kwargs):
from mapgs.data.convert.av2_to_unified import convert_argoverse2 as _f
return _f(*args, **kwargs)