TartanAir
收藏资源简介:
TartanAir数据集是一个用于视觉SLAM和深度学习任务的图像数据集,包含多种环境下的图像和深度信息,适用于训练和测试图像特征匹配算法。
The TartanAir dataset is an image dataset dedicated to visual SLAM and deep learning tasks. It includes images and depth information across various environments, and is suitable for training and testing image feature matching algorithms.
iMatching 数据集概述
数据集
TartanAir
-
来源: TartanAir
-
下载工具: tartanair_tools
-
下载命令: sh python download_training.py --output-dir OUTPUTDIR --rgb --depth --only-left
-
数据结构:
$DATASET_ROOT/ └── tartanair/ ├── abandonedfactory_night/ | ├── Easy/ | | └── ... │ └── Hard/ │ └── ... └── ...
-
注意事项:
- 仅需要
<ENVIRONMENT>/<DIFFICULTY>/<image|depth>_left.zip文件。 - 解压后需移除重复的
<ENVIRONMENT>目录层级。
- 仅需要
ETH3D SLAM
- 来源: ETH3D SLAM
- 下载方式: 数据集将由 datamodule 自动下载。
预训练权重
- 下载命令:
sh
pip install gdown
mkdir pretrained
cd pretrained/
CAPS
gdown 1UVjtuhTDmlvvVuUlEq_M5oJVImQl6z1fp2p
sh ../ext/patch2pix/pretrained/download.shaspan
gdown 1eavM9dTkw9nbc-JqlVVfGPU5UvTTfc6k tar -xvf weights_aspanformer.tar cd ..
训练
在 TartanAir 上训练
-
CAPS: sh scene=abandonedfactory d=Easy python ./train.py data_root=./data/datasets datamodule.include="$scene_$d"
-
Patch2Pix: sh scene=abandonedfactory d=Easy python ./train.py --config-name p2p-train-tartanair data_root=./data/datasets trainer.max_epochs=2 datamodule.include="$scene_$d"
-
AspanFormer: sh scene=abandonedfactory d=Easy python ./train.py --config-name aspan-train-tartanair data_root=./data/datasets trainer.max_epochs=2 datamodule.include="$scene_$d"
-
DKM: sh scene=abandonedfactory d=Easy python ./train.py --config-name dkm-train-tartanair data_root=./data/datasets trainer.max_epochs=5 datamodule.include="$scene_$d"
配置覆盖
- 示例:
- 使用部分数据集:
datamodule.include="<regex>"或datamodule.exclude="<regex>" - 更改数据集分割比例:
datamodule.split_ratio=[0.5,0.3,0.2] - 更改验证间隔:
trainer.val_check_interval=<interval>
- 使用部分数据集:




