tensorbay.opendataset.nuScenes.loader

tensorbay.opendataset.nuScenes.loader.nuScenes(path: str) tensorbay.dataset.dataset.FusionDataset[source]

Dataloader of the nuScenes dataset.

The file structure should be like:

<path>
    v1.0-mini/
        maps/
            36092f0b03a857c6a3403e25b4b7aab3.png
            ...
        samples/
            CAM_BACK/
            CAM_BACK_LEFT/
            CAM_BACK_RIGHT/
            CAM_FRONT/
            CAM_FRONT_LEFT/
            CAM_FRONT_RIGHT/
            LIDAR_TOP/
            RADAR_BACK_LEFT/
            RADAR_BACK_RIGHT/
            RADAR_FRONT/
            RADAR_FRONT_LEFT/
            RADAR_FRONT_RIGHT/
        sweeps/
            CAM_BACK/
            CAM_BACK_LEFT/
            CAM_BACK_RIGHT/
            CAM_FRONT/
            CAM_FRONT_LEFT/
            CAM_FRONT_RIGHT/
            LIDAR_TOP/
            RADAR_BACK_LEFT/
            RADAR_BACK_RIGHT/
            RADAR_FRONT/
            RADAR_FRONT_LEFT/
            RADAR_FRONT_RIGHT/
        v1.0-mini/
            attribute.json
            calibrated_sensor.json
            category.json
            ego_pose.json
            instance.json
            log.json
            map.json
            sample_annotation.json
            sample_data.json
            sample.json
            scene.json
            sensor.json
            visibility.json
    v1.0-test/
        maps/
        samples/
        sweeps/
        v1.0-test/
    v1.0-trainval/
        maps/
        samples/
        sweeps/
        v1.0-trainval/
Parameters

path – The root directory of the dataset.

Returns

Loaded FusionDataset instance.