forked from avstack-lab/avdev-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinitialize.sh
executable file
·38 lines (27 loc) · 1.3 KB
/
initialize.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
set -e
DATAFOLDER=${1:-/data/$(whoami)}
DATAFOLDER=${DATAFOLDER%/} # remove trailing slash
MODELFOLDER=${2:-/data/$(whoami)/models}
MODELFOLDER=${MODELFOLDER%/} # remove trailing slash
################################
# Download perception models
################################
./submodules/lib-avstack-core/models/download_mmdet_models.sh $MODELFOLDER
# ./submodules/lib-avstack-core/models/download_mmdet3d_models.sh $MODELFOLDER
./submodules/lib-avstack-core/models/download_mmseg_models.sh $MODELFOLDER
################################
# Download AV datasets
################################
# -- kitti
# ./submodules/lib-avstack-api/data/download_KITTI_ImageSets.sh $DATAFOLDER
# ./submodules/lib-avstack-api/data/download_KITTI_object_data.sh $DATAFOLDER
# ./submodules/lib-avstack-api/data/download_KITTI_raw_data.sh $DATAFOLDER
# ./submodules/lib-avstack-api/data/download_KITTI_raw_tracklets.sh $DATAFOLDER
# -- nuscenes
# ./submodules/lib-avstack-api/data/download_nuScenes_mini.sh $DATAFOLDER
# -- carla (our custom)
# ./submodules/lib-avstack-api/data/download_CARLA_datasets.sh ego-lidar $DATAFOLDER
# ./submodules/lib-avstack-api/data/download_CARLA_datasets.sh multi-agent-v1 $DATAFOLDER
# Link to the datasets
ln -sf ./submodules/lib-avstack-api/data ./data
./data/add_custom_symlinks.sh $DATAFOLDER