forked from open-mmlab/OpenPCDet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHowTo.txt
More file actions
executable file
·51 lines (31 loc) · 1.88 KB
/
HowTo.txt
File metadata and controls
executable file
·51 lines (31 loc) · 1.88 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
# Create Dataset
cd /app/OpenPCDet && \
python3 -m pcdet.datasets.custom.custom_dataset create_custom_infos tools/cfgs/dataset_configs/custom_dataset.yaml
# Train Model
cd /app/OpenPCDet/tools && \
python3 train.py --cfg_file cfgs/custom_models/model_config.yaml --epoch 50
-> output is in /app/OpenPCDet/output/custom_models/...
# Training If you wanna be the very best... like no one ever was
python3 train.py --cfg_file cfgs/custom_models/second.yaml && python3 train.py --cfg_file cfgs/custom_models/pointpillar.yaml && python3 train.py --cfg_file cfgs/custom_models/pv_rcnn.yaml >> overnight_log.txt
# ssh connection for visualisation
docker inspect \
-f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' openpcdet
/etc/init.d/ssh restart
ssh -X -p 8081 root@172.X.X.X
# Copy from remote to local
rsync -ravh --info=progress2 -e 'ssh -i ~/.ssh/id_ed25519_chronos' smueck@10.60.0.135:/home/smueck/data/out /home/zebsi/Documents/_Master/Masterarbeit/results/V3
# Tensorboard
pip install tensorboard && \
tensorboard --logdir /app/OpenPCDet/output/custom_models --bind_all
-> localhost:6006
## foarward on kronos
ssh -N -L 6006:localhost:6006 smueck@10.60.0.135 -i ~/.ssh/id_ed25519_chronos
# Test | this only shows prediction boxes
python3 demo.py --data_path ../data/custom/points --ext .npy --ckpt ../output/custom_models/pv_rcnn/default/ckpt/checkpoint_epoch_9.pth --cfg_file cfgs/custom_models/pv_rcnn.yaml
# Test | this shows prediction boxes (green) and ground truth (blue)
python3 demo-gt.py --data_path ../data/custom/points --ext .npy --ckpt ../output/custom_models/pv_rcnn/default/ckpt/checkpoint_epoch_9.pth --cfg_file cfgs/custom_models/pv_rcnn.yaml
# More Testing
python3 test.py --cfg_file cfgs/custom_models/pointpillar.yaml --ckpt ../output/custom_models/pointpillar/default/ckpt/checkpoint_epoch_50.pth
# Fails
### quaternion_to_rotation_matrix
pip install kornia==0.5.8