Upload configs/scannet/m2h_mx_l.yaml with huggingface_hub
Browse files
configs/scannet/m2h_mx_l.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset:
|
| 2 |
+
name: ScanNet
|
| 3 |
+
root: data/scannet
|
| 4 |
+
image_size: [480, 640]
|
| 5 |
+
num_classes: 20
|
| 6 |
+
ignore_index: 255
|
| 7 |
+
min_depth: 0.1
|
| 8 |
+
max_depth: 10.0
|
| 9 |
+
visual_min_depth: 0.1
|
| 10 |
+
visual_max_depth: 10.0
|
| 11 |
+
augment:
|
| 12 |
+
random_scale: [0.95, 1.1]
|
| 13 |
+
random_crop: true
|
| 14 |
+
horizontal_flip: true
|
| 15 |
+
color_jitter: {brightness: 0.1, contrast: 0.1, saturation: 0.1, hue: 0.05}
|
| 16 |
+
erase_prob: 0.0
|
| 17 |
+
|
| 18 |
+
training:
|
| 19 |
+
epochs: 80
|
| 20 |
+
batch_size: 10
|
| 21 |
+
eval_batch_size: 16
|
| 22 |
+
num_workers: 10
|
| 23 |
+
device: cuda
|
| 24 |
+
mixed_precision: true
|
| 25 |
+
log_interval: 200
|
| 26 |
+
ckpt_interval: 1
|
| 27 |
+
grad_clip: 1.0
|
| 28 |
+
output_dir: outputs/scannet_m2h_mx_l
|
| 29 |
+
ema_decay: 0.999
|
| 30 |
+
eval_use_ema: true
|
| 31 |
+
finetune: true
|
| 32 |
+
|
| 33 |
+
optimization:
|
| 34 |
+
lr: 3.0e-5
|
| 35 |
+
weight_decay: 0.02
|
| 36 |
+
betas: [0.9, 0.999]
|
| 37 |
+
warmup_epochs: 3
|
| 38 |
+
scheduler:
|
| 39 |
+
type: cosine
|
| 40 |
+
min_lr: 5.0e-6
|
| 41 |
+
|
| 42 |
+
tasks:
|
| 43 |
+
include_semseg: true
|
| 44 |
+
include_depth: true
|
| 45 |
+
include_edge: false
|
| 46 |
+
include_normals: false
|
| 47 |
+
include_plane: false
|
| 48 |
+
include_confidence: false
|
| 49 |
+
|
| 50 |
+
loss:
|
| 51 |
+
weights:
|
| 52 |
+
semseg: 3.0
|
| 53 |
+
depth_si: 1.5
|
| 54 |
+
focal_for_edges: false
|
| 55 |
+
depth_scale_weight: 0.0
|
| 56 |
+
depth_coarse_weight: 0.1
|
| 57 |
+
depth_offset_weight: 0.05
|
| 58 |
+
depth_bin_weight: 0.1
|
| 59 |
+
use_uncertainty_balancer: false
|
| 60 |
+
|
| 61 |
+
model:
|
| 62 |
+
arch: m2h_mx_l
|
| 63 |
+
num_classes: 20
|
| 64 |
+
min_depth: 0.1
|
| 65 |
+
max_depth: 10.0
|
| 66 |
+
|
| 67 |
+
m2h_mx:
|
| 68 |
+
decoder_dim: 256
|
| 69 |
+
num_seg_classes: 20
|
| 70 |
+
backbone_lr_scale: 0.03
|
| 71 |
+
ltc_window_size: 4
|
| 72 |
+
hm_d_state: 32
|
| 73 |
+
hm_drop_path: 0.1
|
| 74 |
+
gtf_extra_levels: 2
|
| 75 |
+
train_last_n_blocks: 24
|
| 76 |
+
intermediate_layer_indices: [5, 11, 17, 23]
|
| 77 |
+
num_register_tokens: 4
|
| 78 |
+
use_lora: true
|
| 79 |
+
lora_rank: 16
|
| 80 |
+
lora_alpha: 32.0
|
| 81 |
+
lora_dropout: 0.05
|
| 82 |
+
backbone_name: facebook/dinov3-vitl16-pretrain-lvd1689m
|
| 83 |
+
depth_bins: 64
|
| 84 |
+
depth_aux_weight: 0.2
|
| 85 |
+
aux_weights:
|
| 86 |
+
semseg: 0.5
|
| 87 |
+
depth: 0.2
|
| 88 |
+
|
| 89 |
+
validation:
|
| 90 |
+
interval_steps: 1948
|
| 91 |
+
save_best_on: ["sem_mIoU", "dep_AbsRel"]
|