envodat 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- envodat-0.1.0/LICENSE-CODE +27 -0
- envodat-0.1.0/PKG-INFO +169 -0
- envodat-0.1.0/README.md +127 -0
- envodat-0.1.0/envodat/__init__.py +31 -0
- envodat-0.1.0/envodat/_config.py +29 -0
- envodat-0.1.0/envodat/catalog.py +73 -0
- envodat-0.1.0/envodat/cli.py +113 -0
- envodat-0.1.0/envodat/cps.py +222 -0
- envodat-0.1.0/envodat/hub.py +213 -0
- envodat-0.1.0/envodat/slam.py +97 -0
- envodat-0.1.0/envodat/torch_data.py +120 -0
- envodat-0.1.0/envodat/train.py +35 -0
- envodat-0.1.0/envodat.egg-info/PKG-INFO +169 -0
- envodat-0.1.0/envodat.egg-info/SOURCES.txt +18 -0
- envodat-0.1.0/envodat.egg-info/dependency_links.txt +1 -0
- envodat-0.1.0/envodat.egg-info/entry_points.txt +2 -0
- envodat-0.1.0/envodat.egg-info/requires.txt +28 -0
- envodat-0.1.0/envodat.egg-info/top_level.txt +1 -0
- envodat-0.1.0/pyproject.toml +45 -0
- envodat-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2025 Linus Nwankwo and the EnvoDat authors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
Note: This MIT license only applies to the CODE in this repository (scripts, tooling).
|
|
25
|
+
The EnvoDat DATASET and DOCUMENTATION are licensed separately under
|
|
26
|
+
Creative Commons Attribution 4.0 International (CC BY 4.0):
|
|
27
|
+
https://creativecommons.org/licenses/by/4.0/
|
envodat-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: envodat
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Toolkit for EnvoDat: download, load, train on and evaluate a multisensory robotics dataset
|
|
5
|
+
Author: Linus Nwankwo
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://linusnep.github.io/EnvoDat/
|
|
8
|
+
Project-URL: Documentation, https://linusnep.github.io/EnvoDat/
|
|
9
|
+
Project-URL: Repository, https://github.com/LinusNEP/EnvoDat
|
|
10
|
+
Project-URL: Dataset, https://huggingface.co/datasets/Linpen/EnvoDat
|
|
11
|
+
Project-URL: Paper, https://ieeexplore.ieee.org/document/11127594
|
|
12
|
+
Keywords: robotics,dataset,slam,object-detection,lidar,hugging-face
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
16
|
+
Requires-Python: >=3.8
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE-CODE
|
|
19
|
+
Requires-Dist: huggingface_hub>=0.25
|
|
20
|
+
Requires-Dist: pyyaml>=6.0
|
|
21
|
+
Requires-Dist: pillow>=9.0
|
|
22
|
+
Requires-Dist: numpy>=1.21
|
|
23
|
+
Provides-Extra: hf
|
|
24
|
+
Requires-Dist: datasets>=2.14; extra == "hf"
|
|
25
|
+
Provides-Extra: torch
|
|
26
|
+
Requires-Dist: torch>=2.0; extra == "torch"
|
|
27
|
+
Provides-Extra: train
|
|
28
|
+
Requires-Dist: ultralytics>=8.1.0; extra == "train"
|
|
29
|
+
Provides-Extra: slam
|
|
30
|
+
Requires-Dist: evo>=1.25; extra == "slam"
|
|
31
|
+
Provides-Extra: all
|
|
32
|
+
Requires-Dist: datasets>=2.14; extra == "all"
|
|
33
|
+
Requires-Dist: torch>=2.0; extra == "all"
|
|
34
|
+
Requires-Dist: ultralytics>=8.1.0; extra == "all"
|
|
35
|
+
Requires-Dist: evo>=1.25; extra == "all"
|
|
36
|
+
Provides-Extra: docs
|
|
37
|
+
Requires-Dist: sphinx>=7; extra == "docs"
|
|
38
|
+
Requires-Dist: sphinx-rtd-theme>=2; extra == "docs"
|
|
39
|
+
Requires-Dist: myst-parser>=2; extra == "docs"
|
|
40
|
+
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
41
|
+
Dynamic: license-file
|
|
42
|
+
|
|
43
|
+
<div align="center">
|
|
44
|
+
|
|
45
|
+
# EnvoDat
|
|
46
|
+
|
|
47
|
+
**A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments**
|
|
48
|
+
|
|
49
|
+
[](https://linusnep.github.io/EnvoDat/)
|
|
50
|
+
[](https://pypi.org/project/envodat/)
|
|
51
|
+
[](https://ieeexplore.ieee.org/document/11127594)
|
|
52
|
+
[](https://arxiv.org/abs/2410.22200)
|
|
53
|
+
[](https://huggingface.co/datasets/Linpen/EnvoDat)
|
|
54
|
+
[](https://creativecommons.org/licenses/by/4.0/)
|
|
55
|
+
|
|
56
|
+
๐ [Documentation](https://linusnep.github.io/EnvoDat/) | ๐ [Project Website](https://sites.google.com/view/envodat/overview) | โ๏ธ [Install](docs/installation.md) | ๐งช [Examples](docs/examples.md) | ๐ [Leaderboard](docs/benchmark.md) | ๐ค [Hugging Face](https://huggingface.co/datasets/Linpen/EnvoDat) | ๐ฅ [Download](https://sites.google.com/view/envodat/download) | โ๏ธ [License](https://creativecommons.org/licenses/by/4.0/)
|
|
57
|
+
|
|
58
|
+
<img src="docs/scene_characteristics.gif" alt="Scene characteristics">
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
## Overview
|
|
65
|
+
|
|
66
|
+
EnvoDat is a large-scale, multisensory robotics dataset captured across **heterogeneous indoor, outdoor, and subterranean environments**, with annotations and ground truth designed for tasks such as:
|
|
67
|
+
|
|
68
|
+
1. **Spatial awareness:** SLAM and odometry benchmarking under dynamic entities, varying illumination, opaque surfaces, low/zero-visibility, and feature-sparse conditions.
|
|
69
|
+
2. **Semantic reasoning:** Object detection and semantic perception on non-standard objects, terrain, and lighting that differ from common household/urban datasets.
|
|
70
|
+
|
|
71
|
+
Here, we provide the **`envodat` toolkit** (`pip install envodat`) and the **development and benchmarking kit** to download and load the data, reproduce the perception experiments, evaluate SLAM trajectories, and submit results to the public leaderboard. The annotated scenes can be pulled straight from the Hugging Face Hub for training, while the raw sensor data is hosted on our server (see [Download](#download)).
|
|
72
|
+
|
|
73
|
+
## Summary Video
|
|
74
|
+
|
|
75
|
+
<p align="center">
|
|
76
|
+
<a href="https://youtu.be/5OcByVmTUPQ">
|
|
77
|
+
<img src="docs/sumVideo.png" alt="Summary video" width="500">
|
|
78
|
+
</a>
|
|
79
|
+
</p>
|
|
80
|
+
|
|
81
|
+
## Download
|
|
82
|
+
|
|
83
|
+
EnvoDat is available from two places, depending on what you need:
|
|
84
|
+
|
|
85
|
+
| Source | Contents | Best for |
|
|
86
|
+
|--------|----------|----------|
|
|
87
|
+
| ๐ค [Hugging Face Hub](https://huggingface.co/datasets/Linpen/EnvoDat) | Annotated scenes, training-ready (YOLO layout + ๐ค `datasets` configs) | Training and evaluating ML models |
|
|
88
|
+
| ๐ฅ [EnvoDat Download](https://sites.google.com/view/envodat/download) | Full release: raw ROS bags (RGB, LiDAR, depth, IMU), ground-truth poses, and all annotation formats (YOLO, COCO, OpenAI-CLIP, VOC, โฆ) | SLAM/odometry, multisensor research, other formats |
|
|
89
|
+
|
|
90
|
+
To fetch scenes from the Hub, either use the helper script or load them directly with ๐ค `datasets`:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
pip install envodat
|
|
94
|
+
envodat list # available scenes
|
|
95
|
+
envodat download mu-hall # one scene, YOLO-ready
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
from datasets import load_dataset
|
|
100
|
+
ds = load_dataset("Linpen/EnvoDat", "mu-hall") # train / validation / test splits
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
See [`docs/huggingface.md`](docs/huggingface.md) for the Hub layout and version pinning, and [`docs/examples.md`](docs/examples.md#download-raw-data) for downloading raw data from the CPS server.
|
|
104
|
+
|
|
105
|
+
## Quickstart
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
pip install "envodat[all]"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
```python
|
|
112
|
+
import envodat as ed
|
|
113
|
+
|
|
114
|
+
ed.init("./envodat_data") # where the data is stored
|
|
115
|
+
ed.download("mu-hall") # training-ready scene from Hugging Face
|
|
116
|
+
ds = ed.load("mu-hall") # ๐ค datasets: train / validation / test
|
|
117
|
+
loader = ed.dataloader("mu-hall", split="train", batch_size=8) # PyTorch
|
|
118
|
+
ed.train_yolo("mu-hall", model="yolo11n.pt", epochs=100) # Ultralytics YOLO
|
|
119
|
+
ed.evaluate_traj("my_slam.tum", "gt-poses-mu-hall.csv") # ATE / RPE / scale drift
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
The same is available from the command line (`envodat download mu-hall`, `envodat train mu-hall`, `envodat eval ...`). The [documentation](https://linusnep.github.io/EnvoDat/) covers [installation](docs/installation.md), [examples](docs/examples.md) including training with ๐ค Transformers, the [API](docs/api.md), the [modalities](docs/modalities.md) and [environments](docs/environments.md), and a full [YOLO walkthrough](docs/get_started.md).
|
|
123
|
+
|
|
124
|
+
## Benchmark & Leaderboard
|
|
125
|
+
|
|
126
|
+
The public leaderboard can be found in [`docs/benchmark.md`](docs/benchmark.md) and covers two tracks:
|
|
127
|
+
|
|
128
|
+
- **SLAM track** โ RTAB-Map, ORB-SLAM3, HDL-SLAM, FAST-LIO2, DLIO across five representative scenes, scored by ATE, RPE, and scale drift.
|
|
129
|
+
- **Detection track** โ object detectors evaluated with mAP on EnvoDat scenes.
|
|
130
|
+
|
|
131
|
+
To reproduce or contribute results, see [How to submit](docs/benchmark.md#how-to-submit) and [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
|
132
|
+
|
|
133
|
+
## Paper Citation
|
|
134
|
+
|
|
135
|
+
If you use this work in your research, please cite our [paper](https://ieeexplore.ieee.org/abstract/document/11127594) and [dataset](https://linusnep.github.io/EnvoDat/) using the following BibTeX entry:
|
|
136
|
+
|
|
137
|
+
```bibtex
|
|
138
|
+
@INPROCEEDINGS{11127594,
|
|
139
|
+
author={Nwankwo, Linus and Ellensohn, Bjรถrn and Dave, Vedant and Hofer, Peter and Forstner, Jan and Villneuve, Marlene and Galler, Robert and Rueckert, Elmar},
|
|
140
|
+
booktitle={2025 IEEE International Conference on Robotics and Automation (ICRA)},
|
|
141
|
+
title={EnvoDat: A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments},
|
|
142
|
+
year={2025},
|
|
143
|
+
volume={},
|
|
144
|
+
number={},
|
|
145
|
+
pages={153-160},
|
|
146
|
+
keywords={Simultaneous localization and mapping;Annotations;Heuristic algorithms;Supervised learning;Semantics;Benchmark testing;Cognition;Spatial databases;Robustness;Sensors},
|
|
147
|
+
doi={10.1109/ICRA55743.2025.11127594}}
|
|
148
|
+
```
|
|
149
|
+
## Dataset
|
|
150
|
+
|
|
151
|
+
```bibtex
|
|
152
|
+
@software{envodat,
|
|
153
|
+
author = {Linus Nwankwo and Bjoern Ellensohn and Vedant Dave and Peter Hofer and Jan Forstner and Marlene Villneuve and Robert Galler and Elmar Rueckert},
|
|
154
|
+
title = {EnvoDat: A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments},
|
|
155
|
+
note = {Project Website: \url{https://linusnep.github.io/EnvoDat/}},
|
|
156
|
+
eprint={2410.22200},
|
|
157
|
+
archivePrefix={arXiv},
|
|
158
|
+
url={https://linusnep.github.io/EnvoDat/}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## License
|
|
163
|
+
|
|
164
|
+
The dataset and documentation are licensed under [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
|
165
|
+
The code/scripts in this repository are released under the [MIT License](LICENSE-CODE). (Creative Commons recommends against using CC licenses for software, hence the separate code license.)
|
|
166
|
+
|
|
167
|
+
## Acknowledgement
|
|
168
|
+
|
|
169
|
+
This project has received funding from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), No. #430054590 (TRAIN).
|
envodat-0.1.0/README.md
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# EnvoDat
|
|
4
|
+
|
|
5
|
+
**A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments**
|
|
6
|
+
|
|
7
|
+
[](https://linusnep.github.io/EnvoDat/)
|
|
8
|
+
[](https://pypi.org/project/envodat/)
|
|
9
|
+
[](https://ieeexplore.ieee.org/document/11127594)
|
|
10
|
+
[](https://arxiv.org/abs/2410.22200)
|
|
11
|
+
[](https://huggingface.co/datasets/Linpen/EnvoDat)
|
|
12
|
+
[](https://creativecommons.org/licenses/by/4.0/)
|
|
13
|
+
|
|
14
|
+
๐ [Documentation](https://linusnep.github.io/EnvoDat/) | ๐ [Project Website](https://sites.google.com/view/envodat/overview) | โ๏ธ [Install](docs/installation.md) | ๐งช [Examples](docs/examples.md) | ๐ [Leaderboard](docs/benchmark.md) | ๐ค [Hugging Face](https://huggingface.co/datasets/Linpen/EnvoDat) | ๐ฅ [Download](https://sites.google.com/view/envodat/download) | โ๏ธ [License](https://creativecommons.org/licenses/by/4.0/)
|
|
15
|
+
|
|
16
|
+
<img src="docs/scene_characteristics.gif" alt="Scene characteristics">
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
## Overview
|
|
23
|
+
|
|
24
|
+
EnvoDat is a large-scale, multisensory robotics dataset captured across **heterogeneous indoor, outdoor, and subterranean environments**, with annotations and ground truth designed for tasks such as:
|
|
25
|
+
|
|
26
|
+
1. **Spatial awareness:** SLAM and odometry benchmarking under dynamic entities, varying illumination, opaque surfaces, low/zero-visibility, and feature-sparse conditions.
|
|
27
|
+
2. **Semantic reasoning:** Object detection and semantic perception on non-standard objects, terrain, and lighting that differ from common household/urban datasets.
|
|
28
|
+
|
|
29
|
+
Here, we provide the **`envodat` toolkit** (`pip install envodat`) and the **development and benchmarking kit** to download and load the data, reproduce the perception experiments, evaluate SLAM trajectories, and submit results to the public leaderboard. The annotated scenes can be pulled straight from the Hugging Face Hub for training, while the raw sensor data is hosted on our server (see [Download](#download)).
|
|
30
|
+
|
|
31
|
+
## Summary Video
|
|
32
|
+
|
|
33
|
+
<p align="center">
|
|
34
|
+
<a href="https://youtu.be/5OcByVmTUPQ">
|
|
35
|
+
<img src="docs/sumVideo.png" alt="Summary video" width="500">
|
|
36
|
+
</a>
|
|
37
|
+
</p>
|
|
38
|
+
|
|
39
|
+
## Download
|
|
40
|
+
|
|
41
|
+
EnvoDat is available from two places, depending on what you need:
|
|
42
|
+
|
|
43
|
+
| Source | Contents | Best for |
|
|
44
|
+
|--------|----------|----------|
|
|
45
|
+
| ๐ค [Hugging Face Hub](https://huggingface.co/datasets/Linpen/EnvoDat) | Annotated scenes, training-ready (YOLO layout + ๐ค `datasets` configs) | Training and evaluating ML models |
|
|
46
|
+
| ๐ฅ [EnvoDat Download](https://sites.google.com/view/envodat/download) | Full release: raw ROS bags (RGB, LiDAR, depth, IMU), ground-truth poses, and all annotation formats (YOLO, COCO, OpenAI-CLIP, VOC, โฆ) | SLAM/odometry, multisensor research, other formats |
|
|
47
|
+
|
|
48
|
+
To fetch scenes from the Hub, either use the helper script or load them directly with ๐ค `datasets`:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install envodat
|
|
52
|
+
envodat list # available scenes
|
|
53
|
+
envodat download mu-hall # one scene, YOLO-ready
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
from datasets import load_dataset
|
|
58
|
+
ds = load_dataset("Linpen/EnvoDat", "mu-hall") # train / validation / test splits
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
See [`docs/huggingface.md`](docs/huggingface.md) for the Hub layout and version pinning, and [`docs/examples.md`](docs/examples.md#download-raw-data) for downloading raw data from the CPS server.
|
|
62
|
+
|
|
63
|
+
## Quickstart
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
pip install "envodat[all]"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
import envodat as ed
|
|
71
|
+
|
|
72
|
+
ed.init("./envodat_data") # where the data is stored
|
|
73
|
+
ed.download("mu-hall") # training-ready scene from Hugging Face
|
|
74
|
+
ds = ed.load("mu-hall") # ๐ค datasets: train / validation / test
|
|
75
|
+
loader = ed.dataloader("mu-hall", split="train", batch_size=8) # PyTorch
|
|
76
|
+
ed.train_yolo("mu-hall", model="yolo11n.pt", epochs=100) # Ultralytics YOLO
|
|
77
|
+
ed.evaluate_traj("my_slam.tum", "gt-poses-mu-hall.csv") # ATE / RPE / scale drift
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
The same is available from the command line (`envodat download mu-hall`, `envodat train mu-hall`, `envodat eval ...`). The [documentation](https://linusnep.github.io/EnvoDat/) covers [installation](docs/installation.md), [examples](docs/examples.md) including training with ๐ค Transformers, the [API](docs/api.md), the [modalities](docs/modalities.md) and [environments](docs/environments.md), and a full [YOLO walkthrough](docs/get_started.md).
|
|
81
|
+
|
|
82
|
+
## Benchmark & Leaderboard
|
|
83
|
+
|
|
84
|
+
The public leaderboard can be found in [`docs/benchmark.md`](docs/benchmark.md) and covers two tracks:
|
|
85
|
+
|
|
86
|
+
- **SLAM track** โ RTAB-Map, ORB-SLAM3, HDL-SLAM, FAST-LIO2, DLIO across five representative scenes, scored by ATE, RPE, and scale drift.
|
|
87
|
+
- **Detection track** โ object detectors evaluated with mAP on EnvoDat scenes.
|
|
88
|
+
|
|
89
|
+
To reproduce or contribute results, see [How to submit](docs/benchmark.md#how-to-submit) and [`CONTRIBUTING.md`](CONTRIBUTING.md).
|
|
90
|
+
|
|
91
|
+
## Paper Citation
|
|
92
|
+
|
|
93
|
+
If you use this work in your research, please cite our [paper](https://ieeexplore.ieee.org/abstract/document/11127594) and [dataset](https://linusnep.github.io/EnvoDat/) using the following BibTeX entry:
|
|
94
|
+
|
|
95
|
+
```bibtex
|
|
96
|
+
@INPROCEEDINGS{11127594,
|
|
97
|
+
author={Nwankwo, Linus and Ellensohn, Bjรถrn and Dave, Vedant and Hofer, Peter and Forstner, Jan and Villneuve, Marlene and Galler, Robert and Rueckert, Elmar},
|
|
98
|
+
booktitle={2025 IEEE International Conference on Robotics and Automation (ICRA)},
|
|
99
|
+
title={EnvoDat: A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments},
|
|
100
|
+
year={2025},
|
|
101
|
+
volume={},
|
|
102
|
+
number={},
|
|
103
|
+
pages={153-160},
|
|
104
|
+
keywords={Simultaneous localization and mapping;Annotations;Heuristic algorithms;Supervised learning;Semantics;Benchmark testing;Cognition;Spatial databases;Robustness;Sensors},
|
|
105
|
+
doi={10.1109/ICRA55743.2025.11127594}}
|
|
106
|
+
```
|
|
107
|
+
## Dataset
|
|
108
|
+
|
|
109
|
+
```bibtex
|
|
110
|
+
@software{envodat,
|
|
111
|
+
author = {Linus Nwankwo and Bjoern Ellensohn and Vedant Dave and Peter Hofer and Jan Forstner and Marlene Villneuve and Robert Galler and Elmar Rueckert},
|
|
112
|
+
title = {EnvoDat: A Large-Scale Multisensory Dataset for Robotic Spatial Awareness and Semantic Reasoning in Heterogeneous Environments},
|
|
113
|
+
note = {Project Website: \url{https://linusnep.github.io/EnvoDat/}},
|
|
114
|
+
eprint={2410.22200},
|
|
115
|
+
archivePrefix={arXiv},
|
|
116
|
+
url={https://linusnep.github.io/EnvoDat/}
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## License
|
|
121
|
+
|
|
122
|
+
The dataset and documentation are licensed under [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
|
123
|
+
The code/scripts in this repository are released under the [MIT License](LICENSE-CODE). (Creative Commons recommends against using CC licenses for software, hence the separate code license.)
|
|
124
|
+
|
|
125
|
+
## Acknowledgement
|
|
126
|
+
|
|
127
|
+
This project has received funding from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), No. #430054590 (TRAIN).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""EnvoDat toolkit: download, load, train on and evaluate the EnvoDat dataset.
|
|
2
|
+
|
|
3
|
+
Typical use::
|
|
4
|
+
|
|
5
|
+
import envodat as ed
|
|
6
|
+
|
|
7
|
+
ed.init("./envodat_data") # where data is stored
|
|
8
|
+
ed.list_scenes() # scenes on the Hugging Face Hub
|
|
9
|
+
ed.download("mu-hall") # training-ready scene (YOLO + ๐ค datasets)
|
|
10
|
+
loader = ed.dataloader("mu-hall", split="train", batch_size=8)
|
|
11
|
+
ed.train_yolo("mu-hall", model="yolo11n.pt", epochs=100)
|
|
12
|
+
|
|
13
|
+
Heavy dependencies (torch, ultralytics, datasets, evo) are imported only when the
|
|
14
|
+
function that needs them is called.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from ._config import init, root
|
|
18
|
+
from .catalog import SCENES, scene_ids
|
|
19
|
+
from .cps import cps_list, download_raw
|
|
20
|
+
from .hub import class_names, data_yaml, download, info, list_scenes, load, scene_dir
|
|
21
|
+
from .slam import evaluate_traj, get_traj_np, to_tum
|
|
22
|
+
from .torch_data import EnvoDatDetection, dataloader
|
|
23
|
+
from .train import train_yolo
|
|
24
|
+
|
|
25
|
+
__version__ = "0.1.0"
|
|
26
|
+
|
|
27
|
+
__all__ = [
|
|
28
|
+
"init", "root", "SCENES", "scene_ids", "list_scenes", "info", "download", "download_raw",
|
|
29
|
+
"cps_list", "load", "data_yaml", "scene_dir", "class_names", "dataloader",
|
|
30
|
+
"EnvoDatDetection", "train_yolo", "get_traj_np", "to_tum", "evaluate_traj",
|
|
31
|
+
]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
HF_REPO_ID = os.environ.get("ENVODAT_HF_REPO", "Linpen/EnvoDat")
|
|
5
|
+
CPS_SHARE_URL = os.environ.get(
|
|
6
|
+
"ENVODAT_CPS_SHARE", "https://cloud.cps.unileoben.ac.at/index.php/s/cs7qF4Qq5bZbt9k")
|
|
7
|
+
|
|
8
|
+
_state = {"root": Path(os.environ.get("ENVODAT_ROOT", "./envodat_data"))}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def init(root_path):
|
|
12
|
+
"""Set the local root folder where EnvoDat data is downloaded and read from.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
root_path: Folder for all EnvoDat data. Created if it does not exist.
|
|
16
|
+
Can also be set with the ``ENVODAT_ROOT`` environment variable.
|
|
17
|
+
|
|
18
|
+
Returns:
|
|
19
|
+
The resolved root path.
|
|
20
|
+
"""
|
|
21
|
+
root = Path(root_path).expanduser().resolve()
|
|
22
|
+
root.mkdir(parents=True, exist_ok=True)
|
|
23
|
+
_state["root"] = root
|
|
24
|
+
return root
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def root():
|
|
28
|
+
"""Return the current data root (see :func:`init`)."""
|
|
29
|
+
return Path(_state["root"]).expanduser().resolve()
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""Static catalog of the EnvoDat scenes (13 environments).
|
|
2
|
+
|
|
3
|
+
Scene ids are lower-case and match the config names on the Hugging Face Hub.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
INDOOR, OUTDOOR, SUBTERRANEAN = "indoor", "outdoor", "subterranean"
|
|
7
|
+
|
|
8
|
+
#: Scene catalog: ``{scene_id: {name, title, environment, sequences, description}}``.
|
|
9
|
+
SCENES = {
|
|
10
|
+
"mu-hall": dict(name="MU-Hall", title="Exhibition hall", environment=INDOOR,
|
|
11
|
+
sequences=["01", "02", "03"],
|
|
12
|
+
description="Mid-large exhibition hall with many dynamic and static features "
|
|
13
|
+
"(moving people, exhibition furniture)."),
|
|
14
|
+
"mu-cor": dict(name="MU-Cor", title="Long corridor", environment=INDOOR,
|
|
15
|
+
sequences=["01", "02", "03"],
|
|
16
|
+
description="Highly symmetric passageway of roughly 6 x 120 m with tables and mixed "
|
|
17
|
+
"artificial/natural lighting; recorded morning, afternoon and evening."),
|
|
18
|
+
"mu-txn": dict(name="MU-TXN", title="Glass building", environment=INDOOR,
|
|
19
|
+
sequences=["01", "02", "03"],
|
|
20
|
+
description="Student study centre with large transparent and reflective surfaces "
|
|
21
|
+
"and moving objects."),
|
|
22
|
+
"mu-cps": dict(name="MU-CPS", title="Office layout", environment=INDOOR,
|
|
23
|
+
sequences=["01", "02", "03"],
|
|
24
|
+
description="Office layout with multiple occlusions, furniture, daylight and "
|
|
25
|
+
"artificial light, and numerous loop closures."),
|
|
26
|
+
"leo-str": dict(name="Leo-Str", title="Leoben campus street", environment=OUTDOOR,
|
|
27
|
+
sequences=["01", "02"],
|
|
28
|
+
description="Feature-sparse street with pedestrians, vehicles and buildings; "
|
|
29
|
+
"recorded morning and afternoon."),
|
|
30
|
+
"leo-for": dict(name="Leo-For", title="Leoben forest path", environment=OUTDOOR,
|
|
31
|
+
sequences=["01", "02"],
|
|
32
|
+
description="Vegetated, unstructured terrain with dense canopies, varying light "
|
|
33
|
+
"penetration and dynamic shadows."),
|
|
34
|
+
"subt-zab-01": dict(name="SubT-ZAB-01", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
35
|
+
sequences=["01", "02"], description="Underground tunnel."),
|
|
36
|
+
"subt-zab-02": dict(name="SubT-ZAB-02", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
37
|
+
sequences=["01"], description="Underground tunnel."),
|
|
38
|
+
"subt-zab-03": dict(name="SubT-ZAB-03", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
39
|
+
sequences=["01", "02"], description="Underground tunnel.",
|
|
40
|
+
aliases=["subt-zab-lid-03"]),
|
|
41
|
+
"subt-zab-04": dict(name="SubT-ZAB-04", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
42
|
+
sequences=["01", "02"], description="Underground tunnel."),
|
|
43
|
+
"subt-zab-05": dict(name="SubT-ZAB-05", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
44
|
+
sequences=["01", "02"], description="Underground tunnel."),
|
|
45
|
+
"subt-sbe-01": dict(name="SubT-SBe-01", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
46
|
+
sequences=["01"], description="Underground tunnel."),
|
|
47
|
+
"subt-sbe-02": dict(name="SubT-SBe-02", title="Underground tunnel", environment=SUBTERRANEAN,
|
|
48
|
+
sequences=["01"], description="Underground tunnel."),
|
|
49
|
+
# Annotation set only: the SubT-ZAB tunnels are annotated together, not per scene.
|
|
50
|
+
"subt-zab": dict(name="SubT-ZAB", title="Underground tunnels (annotations)",
|
|
51
|
+
environment=SUBTERRANEAN, sequences=[],
|
|
52
|
+
description="Annotated frames of the SubT-ZAB tunnels, released as one set."),
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def scene_ids(environment=None):
|
|
57
|
+
"""Return the catalog scene ids, optionally filtered by environment type."""
|
|
58
|
+
return [k for k, v in SCENES.items() if environment in (None, v["environment"])]
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def match_scene(text):
|
|
62
|
+
"""Return the catalog scene id contained in ``text`` (a path or name), or None.
|
|
63
|
+
|
|
64
|
+
Matching ignores case and separators, so "MU-Hall", "mu_hall_yolov8" and
|
|
65
|
+
"Indoors/MU-Hall/annotations" all resolve to ``"mu-hall"``.
|
|
66
|
+
"""
|
|
67
|
+
import re
|
|
68
|
+
norm = "-" + re.sub(r"[^a-z0-9]+", "-", str(text).lower()).strip("-") + "-"
|
|
69
|
+
names = [(a, sid) for sid, v in SCENES.items() for a in [sid] + v.get("aliases", [])]
|
|
70
|
+
for name, sid in sorted(names, key=lambda x: len(x[0]), reverse=True):
|
|
71
|
+
if f"-{name}-" in norm:
|
|
72
|
+
return sid
|
|
73
|
+
return None
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"""Command-line interface: ``envodat <command>``."""
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
import sys
|
|
5
|
+
|
|
6
|
+
from . import _config, catalog, cps, hub, slam, train
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def _scenes(args):
|
|
10
|
+
print(f"{'id':<13} {'name':<12} {'environment':<13} sequences description")
|
|
11
|
+
for sid, s in catalog.SCENES.items():
|
|
12
|
+
print(f"{sid:<13} {s['name']:<12} {s['environment']:<13} {','.join(s['sequences']) or '-':<10} "
|
|
13
|
+
f"{s['description']}")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
def _list(args):
|
|
17
|
+
for s in hub.list_scenes(args.format, args.revision):
|
|
18
|
+
print(s)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _download(args):
|
|
22
|
+
if args.config:
|
|
23
|
+
res = hub.download(config=args.config)
|
|
24
|
+
else:
|
|
25
|
+
res = hub.download("all" if args.all else args.scene, args.format,
|
|
26
|
+
args.revision)
|
|
27
|
+
for s, d in res.items():
|
|
28
|
+
print(f"{s}\t{d}")
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def _raw(args):
|
|
32
|
+
files = cps.download_raw(args.include, args.exclude, args.out, dry_run=args.dry_run)
|
|
33
|
+
if args.dry_run:
|
|
34
|
+
for f in files:
|
|
35
|
+
print(f"{f.size / 1e9:10.3f} GB {f.path}")
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _train(args):
|
|
39
|
+
extra = dict(kv.split("=", 1) for kv in args.extra)
|
|
40
|
+
for k, v in extra.items():
|
|
41
|
+
try:
|
|
42
|
+
extra[k] = float(v) if "." in v else int(v)
|
|
43
|
+
except ValueError:
|
|
44
|
+
pass
|
|
45
|
+
train.train_yolo(args.scene, args.model, args.epochs, args.imgsz, args.batch, **extra)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def _eval(args):
|
|
49
|
+
r = slam.evaluate_traj(args.est, args.gt, args.align, args.delta)
|
|
50
|
+
print(f"ATE (mean/std): {r['ate'][0]} / {r['ate'][1]} m")
|
|
51
|
+
print(f"RPE (mean/std): {r['rpe'][0]} / {r['rpe'][1]} m")
|
|
52
|
+
if r["sd"]:
|
|
53
|
+
print(f"SD (mean/std): {r['sd'][0]} / {r['sd'][1]}")
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def main(argv=None):
|
|
57
|
+
ap = argparse.ArgumentParser(prog="envodat", description="EnvoDat dataset toolkit")
|
|
58
|
+
ap.add_argument("--root", help="Data root (default ./envodat_data or $ENVODAT_ROOT)")
|
|
59
|
+
sub = ap.add_subparsers(dest="cmd", required=True)
|
|
60
|
+
|
|
61
|
+
sub.add_parser("scenes", help="Show the scene catalog").set_defaults(fn=_scenes)
|
|
62
|
+
|
|
63
|
+
p = sub.add_parser("list", help="List scenes available on the Hugging Face Hub")
|
|
64
|
+
p.add_argument("--format", default="yolo")
|
|
65
|
+
p.add_argument("--revision")
|
|
66
|
+
p.set_defaults(fn=_list)
|
|
67
|
+
|
|
68
|
+
p = sub.add_parser("download", help="Download annotated scenes from the Hub")
|
|
69
|
+
p.add_argument("scene", nargs="*", help="Scene ids, e.g. mu-hall leo-str")
|
|
70
|
+
p.add_argument("--all", action="store_true", help="Download every scene")
|
|
71
|
+
p.add_argument("--format", default="yolo")
|
|
72
|
+
p.add_argument("--revision", help="Branch, tag or commit to pin")
|
|
73
|
+
p.add_argument("--config", help="YAML file with root/scenes/format/revision")
|
|
74
|
+
p.set_defaults(fn=_download)
|
|
75
|
+
|
|
76
|
+
p = sub.add_parser("raw", help="Download raw data (bags, LiDAR, RGB-D, IMU, poses) "
|
|
77
|
+
"from the CPS server")
|
|
78
|
+
p.add_argument("include", nargs="+", help="Glob(s) on the share path, e.g. '*mu-hall*.bag'")
|
|
79
|
+
p.add_argument("--exclude", nargs="*")
|
|
80
|
+
p.add_argument("--out", help="Target folder (default <root>/raw)")
|
|
81
|
+
p.add_argument("--dry-run", action="store_true", help="Only list matches and sizes")
|
|
82
|
+
p.set_defaults(fn=_raw)
|
|
83
|
+
|
|
84
|
+
p = sub.add_parser("train", help="Train a YOLO detector on a scene",
|
|
85
|
+
epilog="Extra Ultralytics args as key=value, e.g. lr0=0.01 device=0")
|
|
86
|
+
p.add_argument("scene")
|
|
87
|
+
p.add_argument("extra", nargs="*", metavar="key=value")
|
|
88
|
+
p.add_argument("--model", default="yolo11n.pt")
|
|
89
|
+
p.add_argument("--epochs", type=int, default=100)
|
|
90
|
+
p.add_argument("--imgsz", type=int, default=640)
|
|
91
|
+
p.add_argument("--batch", type=int, default=16)
|
|
92
|
+
p.set_defaults(fn=_train)
|
|
93
|
+
|
|
94
|
+
p = sub.add_parser("eval", help="ATE/RPE/scale drift of a trajectory vs ground truth")
|
|
95
|
+
p.add_argument("est", help="Estimated trajectory (TUM)")
|
|
96
|
+
p.add_argument("gt", help="Ground truth (gt-poses-*.csv or TUM)")
|
|
97
|
+
p.add_argument("--align", choices=["none", "se3", "sim3"], default="se3")
|
|
98
|
+
p.add_argument("--delta", type=int, default=1)
|
|
99
|
+
p.set_defaults(fn=_eval)
|
|
100
|
+
|
|
101
|
+
args = ap.parse_args(argv)
|
|
102
|
+
if args.root:
|
|
103
|
+
_config.init(args.root)
|
|
104
|
+
if args.cmd == "download" and not (args.scene or args.all or args.config):
|
|
105
|
+
ap.error("download: give scene ids, --all or --config")
|
|
106
|
+
try:
|
|
107
|
+
args.fn(args)
|
|
108
|
+
except (ImportError, FileNotFoundError, ConnectionError, ValueError) as exc:
|
|
109
|
+
sys.exit(f"error: {exc}")
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
if __name__ == "__main__":
|
|
113
|
+
main()
|