-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathargument.yml
84 lines (77 loc) · 2.47 KB
/
argument.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#------------------------------------------#
# 加载需要的权重
# edge-model / depth-model / color-model
# 产生深度图权重 model
#------------------------------------------#
depth_edge_model_ckpt: checkpoints/edge-model.pth
depth_feat_model_ckpt: checkpoints/depth-model.pth
rgb_feat_model_ckpt: checkpoints/color-model.pth
MiDaS_model_ckpt: MiDaS/model.pt
#-----------------------------------------#
# 是否使用boostmonodepth
#-----------------------------------------#
use_boostmonodepth: False
use_sparsetodense: True
#-----------------------------------------#
# 帧率 连续出现在显示器上的帧数
#-----------------------------------------#
fps: 40
#-----------------------------------------#
# 渲染的总帧数 视频长短控制
#-----------------------------------------#
num_frames: 240
#-----------------------------------------#
# 相机在 x / y / z 上移动的距离
#-----------------------------------------#
x_shift_range: [0.00, 0.00, -0.015, -0.015]
y_shift_range: [0.00, 0.00, -0.015, -0.00]
z_shift_range: [-0.05, -0.05, -0.05, -0.05]
#-----------------------------------------#
# 相机轨迹路线 line / circle
#-----------------------------------------#
traj_types: ['double-straight-line', 'double-straight-line', 'circle', 'circle']
video_postfix: ['dolly-zoom-in', 'zoom-in', 'circle', 'swing']
#-----------------------------------------#
# 图像名称,为空 /处理所有图像
#-----------------------------------------#
specific: ''
#-----------------------------------------#
# 视频界面 长
#-----------------------------------------#
longer_side_len: 960
src_folder: image
depth_folder: depth
mesh_folder: mesh
video_folder: video
load_ply: False
save_ply: True
#-----------------------------------------#
# 是否渲染输出视频
#-----------------------------------------#
inference_video: True
gpu_ids: 0
offscreen_rendering: False
img_format: '.png'
depth_format: '.npy'
require_midas: True
depth_threshold: 0.04
ext_edge_threshold: 0.002
sparse_iter: 5
filter_size: [7, 7, 5, 5, 5]
sigma_s: 4.0
sigma_r: 0.5
redundant_number: 12
background_thickness: 70
context_thickness: 140
background_thickness_2: 70
context_thickness_2: 70
discount_factor: 1.00
log_depth: True
largest_size: 512
depth_edge_dilate: 10
depth_edge_dilate_2: 5
extrapolate_border: True
extrapolation_thickness: 60
repeat_inpaint_edge: True
crop_border: [0.03, 0.03, 0.05, 0.03]
anti_flickering: True