-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinference.sh
More file actions
34 lines (28 loc) · 913 Bytes
/
inference.sh
File metadata and controls
34 lines (28 loc) · 913 Bytes
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
#!bin/bash
export CUDA_VISIBLE_DEVICES=0
#args
backbone="vgg13"
algorithm="rSGM"
# path
ckpt="./checkpoints/sceneflow/net_latest"
results_path="./output/refined"
rgb="./sample/rgb_middlebury.png"
disparity="./sample/disp_middlebury.png"
# testing settings
max_disp=256
upsampling_factor=1
disp_scale=1
downsampling_factor=1
# extras
extras=""
python apps/inference.py --load_checkpoint_path $ckpt \
--backbone $backbone \
--results_path $results_path \
--upsampling_factor $upsampling_factor \
--results_path $results_path \
--max_disp $max_disp \
--disp_scale $disp_scale \
--downsampling_factor $downsampling_factor \
--rgb $rgb \
--disparity $disparity \
$extras