RoScenes dataset devkit
Project description
[!CAUTION] Commercial use of RoScenes is strictly forbidden.
๐ฐ Release Note
[2024-07-14] You can now download the dataset at ModelScope.
[2024-07-13] Devkit for RoScenes released.
[2024-07-01] Paper accepted to ECCV 2024! ๐ฅณ
[2024-05-28] Please stay tuned for the updates! We are doing final checks on data privacy.
๐๏ธ Features
๐ Table of Contents
๐ฅ Quick Start
Download
[!NOTE] Please refer to ModelScope for downloading the dataset.
After download and extract, the dataset folder should be organized as follows:
. [DATA_ROOT] # Dataset root folder
โโโ ๐train # training set
โ โโโ ๐s001_split_train_difficulty_mixed_ambience_day # scene 001's data
โ โ โโโ ๐database # annotations, grouped by clip
โ โ โ โโโ ๐0076fd69_clip_[0000000000000-0000000029529] # a clip's database, please use our devkit to read
โ โ โ โ ...
โ โ โโโ ๐images # images, grouped by clips
โ โ โโโ ๐0076fd69
โ โ โ ...
โ โโโ ๐s002_split_train_difficulty_mixed_ambience_day
โ โโโ ๐s003_split_train_difficulty_mixed_ambience_day
โ โโโ ๐s004_split_train_difficulty_mixed_ambience_day
โ โโโ ๐night_split_train_difficulty_mixed_ambience_night
โ
โ
โโโ ๐validation # validation set
โ โโโ ๐s001_split_validation_difficulty_mixed_ambience_day # scene 001's data
โ โโโ ๐s002_split_validation_difficulty_mixed_ambience_day
โ โโโ ๐s003_split_validation_difficulty_mixed_ambience_day
โ โโโ ๐s004_split_validation_difficulty_mixed_ambience_day
โ โโโ ๐night_split_validation_difficulty_mixed_ambience_night
โ
โ
โโโ ๐test # test set
โโโ ๐NO_GTs005_split_test_difficulty_mixed_ambience_day # scene 005's data
โโโ ๐NO_GTs006_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs007_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs008_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs009_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs010_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs011_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs012_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs013_split_test_difficulty_mixed_ambience_day
โโโ ๐NO_GTs014_split_test_difficulty_mixed_ambience_day
Install via PyPI
Use PyPI to directly install RoScenes devkit:
pip install roscenes
Install Manually (for dev)
Also, you can clone this repository and install roscenes manually for developing.
git clone https://github.com/roscenes/RoScenes.git
cd RoScenes
pip install -e .
Start Using the Dataset
import roscenes as ro
# load the training set
dataset = ro.load('[DATA_ROOT]/train/*')
# number of total frames
print(len(dataset))
Then, we can iterate over the dataset, in two ways:
You can use indexing:
# use integer indexing
index = 10
# a Frame instance
print(type(dataset[index]))
for i in range(len(dataset)):
# print num of objects for every frame
print(len(dataset[index].boxes3D))
OR, you can directly iterate it:
# a frame instance
for frame in dataset:
print(len(frame.boxes3D))
[!IMPORTANT] Please refer to
frame.py
,camera.py
for the detailed comments on box format, instrinsic and extrinsic definition, etc.
๐ Explore the Dataset
python -m roscenes.visualizer [DATA_ROOT]/train/s001_split_train_difficulty_mixed_ambience_day 0 vis_result
TBD.
๐ฉโ๐ป Examples
- 1. Read all boxes in a frame, and convert them from global 3D coordinates to camera's perspective coordinates.
๐ Evaluation
TBD.
๐ฏ To-do List
- Devkit release
- Dataset release
- Example dataset loader based on
MMDetection3D
- 3D detection task and evaluation suite
- 3D tracking task and evaluation suite
This repo is licensed under
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file roscenes-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: roscenes-0.0.1-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 702f8a1774972e5e8347f0690522f2e61de1204c7a91c17d2ca63f593d62ede4 |
|
MD5 | 581e7b8470fd4cb2f927d38704aaebc1 |
|
BLAKE2b-256 | fcbafa341e32091056a10f971ff3ef3fa53ed8e804895a048738e9aa83104704 |