-
Notifications
You must be signed in to change notification settings - Fork 0
/
kd_train_pc_KITTI.sh
37 lines (35 loc) · 1.37 KB
/
kd_train_pc_KITTI.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
#!/usr/bin/env bash
set -x
DATAPATH='/data/GWC_data/SceneFlow/'
DATAPATH2='/data/GWC_data/KITTI/'
python kd_main.py --model gwcnet-xsfe-2hg-slied16 \
--datapath $DATAPATH2 \
--kittitest_datapath $DATAPATH2 \
--dataset kitti \
--trainlist ./filenames/kitti15_train159.txt \
--vallist ./filenames/kitti15_val40.txt \
--epochs 10 \
--lrepochs "1:10" \
--batch_size 2 \
--val_batch_size 2 \
--logdir './logdir/' \
--wandb "pc testing" \
--val_img_freq 1 \
--teacher acvnet \
--teacherckpt '../acvn_sf2.ckpt' \
--kd_loss_config 'gwc_vol + early_feats,cost2,default' \
--loss_weights '1,1,0.2,0.1' \
--feat_weights '1, 1, 1, 1, 5' \
--soft_weights '0.5, 1' \
--gt_pw_loss 'LogL1_v2' \
--teacher_pw_loss 'SmoothL1' \
--soft_loss 'soft_kl' \
--feat_loss 'StereoSimilarity' \
--feat_epochs '1,2,4:1' \
--soft_epochs '1,2,4:1' \
--summary_freq 1 \
# --kitti12_testing \
# --kittitest_freq 1
#--loadckpt './gwc_sf.ckpt'
#'../gwclac_sf.pth' \
#--loadckpt '../xsfe_2hg16_sf.ckpt' \