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
RODNet
Commits
3a94bd8d
Commit
3a94bd8d
authored
Feb 02, 2022
by
Yizhou Wang
Browse files
add script for reorganizing dataset folders
parent
d3f82a64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
README.md
README.md
+34
-0
tools/prepare_dataset/reorganize_rod2021.sh
tools/prepare_dataset/reorganize_rod2021.sh
+1
-0
No files found.
README.md
View file @
3a94bd8d
...
...
@@ -72,6 +72,40 @@ This should allow you to use the latest cuda and pytorch version.
## Prepare data for RODNet
Download
[
ROD2021 dataset
](
https://www.cruwdataset.org/download#h.mxc4upuvacso
)
.
Follow
[
this script
](
https://github.com/yizhou-wang/RODNet/blob/master/tools/prepare_dataset/reorganize_rod2021.sh
)
to reorganize files as below.
```
data_root
- sequences
| - train
| | - <SEQ_NAME>
| | | - IMAGES_0
| | | | - <FRAME_ID>.jpg
| | | | - ***.jpg
| | | - RADAR_RA_H
| | | - <FRAME_ID>_<CHIRP_ID>.npy
| | | - ***.npy
| | - ***
| |
| - test
| - <SEQ_NAME>
| | - RADAR_RA_H
| | - <FRAME_ID>_<CHIRP_ID>.npy
| | - ***.npy
| - ***
|
- annotations
| - train
| | - <SEQ_NAME>.txt
| | - ***.txt
| - test
| - <SEQ_NAME>.txt
| - ***.txt
- calib
```
Convert data and annotations to
`.pkl`
files.
```
commandline
python tools/prepare_dataset/prepare_data.py \
--config configs/<CONFIG_FILE> \
...
...
tools/prepare_dataset/reorganize_rod2021.sh
View file @
3a94bd8d
...
...
@@ -3,6 +3,7 @@ unzip TRAIN_RAD_H.zip
unzip TRAIN_CAM_0.zip
unzip TEST_RAD_H.zip
unzip TRAIN_RAD_H_ANNO.zip
unzip CAM_CALIB.zip
# make folders for data and annotations
mkdir
sequences
...
...
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