forked from GitCVfb/CVR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_video.sh
35 lines (28 loc) · 1.12 KB
/
demo_video.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
#!/bin/bash
# create an empty folder for experimental results
mkdir -p experiments/results_demo_carla_video
mkdir -p experiments/results_demo_faster_video
cd deep_unroll_net
#Path of our pretrained CVR model (--model_type=CVR)
model_dir_carla=../model_weights/pretrain_cvr/carla/
model_dir_fastec=../model_weights/pretrain_cvr/fastec/
## or
#Path of our pretrained CVR* model (--model_type=CVR*)
#model_dir_carla=../model_weights/pretrain_cvr_star/carla/
#model_dir_fastec=../model_weights/pretrain_cvr_star/fastec/
python inference_demo_video.py \
--model_label='pretrain' \
--results_dir=../experiments/results_demo_carla_video \
--data_dir='../demo/Carla' \
--crop_sz_H=448 \
--model_type=CVR \
--is_Fastec=0 \
--log_dir=$model_dir_carla
python inference_demo_video.py \
--model_label='pretrain' \
--results_dir=../experiments/results_demo_faster_video \
--data_dir='../demo/Fastec' \
--crop_sz_H=480 \
--model_type=CVR \
--is_Fastec=1 \
--log_dir=$model_dir_fastec