-
Notifications
You must be signed in to change notification settings - Fork 23
/
inference_depth_base.sh
57 lines (51 loc) · 1.77 KB
/
inference_depth_base.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env bash
# base model: depth prediction on re10k 352x640
CUDA_VISIBLE_DEVICES=0 python -m src.main +experiment=re10k \
data_loader.train.batch_size=1 \
dataset.test_chunk_interval=10 \
mode=test \
dataset.near=0.5 \
dataset.far=100. \
dataset/view_sampler=evaluation \
dataset.image_shape=[352,640] \
test.compute_scores=false \
dataset.view_sampler.num_context_views=2 \
model.encoder.num_scales=2 \
model.encoder.upsample_factor=4 \
model.encoder.lowest_feature_resolution=8 \
model.encoder.monodepth_vit_type=vitb \
model.encoder.return_depth=true \
train.forward_depth_only=true \
checkpointing.pretrained_depth=pretrained/depthsplat-depth-base-f57113bd.pth \
wandb.project=depthsplat \
wandb.mode=disabled \
test.save_image=false \
test.save_depth=true \
test.save_depth_concat_img=true \
output_dir=output/depthsplat-depth-base-re10k
# base model: depth prediction on dl3dv 256x480
CUDA_VISIBLE_DEVICES=0 python -m src.main +experiment=dl3dv \
data_loader.train.batch_size=1 \
dataset.test_chunk_interval=1 \
mode=test \
dataset.near=0.5 \
dataset.far=100. \
dataset.roots=[datasets/dl3dv_full] \
dataset/view_sampler=evaluation \
dataset.image_shape=[256,480] \
test.compute_scores=false \
dataset.view_sampler.num_context_views=2 \
dataset.view_sampler.index_path=assets/dl3dv_start_0_distance_10_ctx_2v_tgt_4v.json \
model.encoder.num_scales=2 \
model.encoder.upsample_factor=4 \
model.encoder.lowest_feature_resolution=8 \
model.encoder.monodepth_vit_type=vitb \
model.encoder.return_depth=true \
train.forward_depth_only=true \
checkpointing.pretrained_depth=pretrained/depthsplat-depth-base-f57113bd.pth \
wandb.project=depthsplat \
wandb.mode=disabled \
test.save_image=false \
test.save_depth=true \
test.save_depth_concat_img=true \
output_dir=output/depthsplat-depth-base-dl3dv