Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
mmdetection3d
Commits
4a1f5116
"test/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "9b4ee17cef6a190e04316c5298a012bf8c56c406"
Commit
4a1f5116
authored
Jun 15, 2020
by
liyinhao
Committed by
zhangwenwei
Jun 15, 2020
Browse files
add prepare datasets in GETTING_STARTED.md
parent
3a9012e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
30 deletions
+48
-30
docs/GETTING_STARTED.md
docs/GETTING_STARTED.md
+48
-30
No files found.
docs/GETTING_STARTED.md
View file @
4a1f5116
...
...
@@ -9,39 +9,57 @@ It is recommended to symlink the dataset root to `$MMDETECTION/data`.
If your folder structure is different, you may need to change the corresponding paths in config files.
```
mmdetection
├── mmdet
mmdetection
3d
├── mmdet
3d
├── tools
├── configs
├── data
│ ├── coco
│ │ ├── annotations
│ │ ├── train2017
│ │ ├── val2017
│ │ ├── test2017
│ ├── cityscapes
│ │ ├── annotations
│ │ ├── leftImg8bit
│ │ │ ├── train
│ │ │ ├── val
│ │ ├── gtFine
│ │ │ ├── train
│ │ │ ├── val
│ ├── VOCdevkit
│ │ ├── VOC2007
│ │ ├── VOC2012
```
The cityscapes annotations have to be converted into the coco format using
`tools/convert_datasets/cityscapes.py`
:
```
shell
pip
install
cityscapesscripts
python tools/convert_datasets/cityscapes.py ./data/cityscapes
--nproc
8
--out_dir
./data/cityscapes/annotations
```
Currently the config files in
`cityscapes`
use COCO pre-trained weights to initialize.
You could download the pre-trained models in advance if network is unavailable or slow, otherwise it would cause errors at the beginning of training.
│ ├── nuscenes
│ │ ├── maps
│ │ ├── samples
│ │ ├── sweeps
│ │ ├── v1.0-test
| | ├── v1.0-trainval
│ ├── kitti
│ │ ├── ImageSets
│ │ ├── testing
│ │ │ ├── calib
│ │ │ ├── image_2
│ │ │ ├── velodyne
│ │ ├── training
│ │ │ ├── calib
│ │ │ ├── image_2
│ │ │ ├── label_2
│ │ │ ├── velodyne
│ ├── scannet
│ │ ├── meta_data
│ │ ├── scans
│ │ ├── batch_load_scannet_data.py
│ │ ├── load_scannet_data.py
│ │ ├── scannet_utils.py
│ │ ├── README.md
│ ├── sunrgbd
│ │ ├── OFFICIAL_SUNRGBD
│ │ ├── matlab
│ │ ├── sunrgbd_data.py
│ │ ├── sunrgbd_utils.py
│ │ ├── README.md
```
Download nuScenes V1.0 full dataset data
[
HERE
](
https://www.nuscenes.org/download
)
. Prepare nuscenes data by running
```
bash
python tools/create_data.py nuscenes
--root-path
./data/nuscenes
--out-dir
./data/nuscenes
--extra-tag
nuscenes
```
Download KITTI 3D detection data
[
HERE
](
http://www.cvlibs.net/datasets/kitti/eval_object.php?obj_benchmark=3d
)
. Prepare kitti data by running
```
bash
python tools/create_data.py kitti
--root-path
./data/kitti
--out-dir
./data/kitti
--extra-tag
kitti
```
To prepare scannet data, please see
[
scannet
](
../data/scannet/README.md
)
.
To prepare sunrgbd data, please see
[
sunrgbd
](
../data/sunrgbd/README.md
)
.
For using custom datasets, please refer to
[
Tutorials 2: Adding New Dataset
](
tutorials/new_dataset.md
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment