graviti
ProductOpen DatasetsApps MarketSolutionsResourcesCompany
1.6K
1
2
nuScenes
Owned byMotional
General
Discussion
Code
Activities
Dataset non-members cannot use this dataset via developer tools. You can access and use the data after forking the dataset.
Fork
1from tensorbay import GAS
2from tensorbay.dataset import FusionDataset
3
4# Authorize a GAS client.
5gas = GAS('<YOUR_ACCESSKEY>')
6
7# Get the fusion dataset.
8fusion_dataset = FusionDataset("nuScenes", gas)
9
10# List fusion dataset segments
11fusion_segments = fusion_dataset.keys()
12
13# Get a segment by name
14fusion_segment = fusion_dataset["v1.0-mini_scene-0061"]
15for frame in fusion_segment:
16    for sensor_name, data in frame.items():
17        fp = data.open()
18        # Use the data as you like.
19        if sensor_name = "LIDAR_TOP":
20            for label_box3d in data.label.box3d:
21                size = label_box3d.size
22                translation = label_box3d.translation
23                rotation = label_box3d.rotation
24                box3d_category = label_box3d.category
25                box3d_attributes = label_box3d.attributes
26