Ayesha-Majeed commited on
Commit
e55dd17
·
verified ·
1 Parent(s): 4b724a8

Upload config.json

Browse files
Files changed (1) hide show
  1. birefnet_model/config.json +101 -0
birefnet_model/config.json CHANGED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "IoU_finetune_last_epochs": -50,
3
+ "SDPA_enabled": false,
4
+ "architectures": [
5
+ "BiRefNet"
6
+ ],
7
+ "model_type": "birefnet",
8
+ "auto_map": {
9
+ "AutoConfig": "BiRefNet_config.BiRefNetConfig",
10
+ "AutoModelForImageSegmentation": "birefnet.BiRefNet"
11
+ },
12
+ "auxiliary_classification": false,
13
+ "batch_size": 4,
14
+ "batch_size_valid": 1,
15
+ "bb": "swin_v1_l",
16
+ "compile": true,
17
+ "cxt": [
18
+ 384,
19
+ 768,
20
+ 1536
21
+ ],
22
+ "cxt_num": 3,
23
+ "data_root_dir": "/root/datasets/dis",
24
+ "dec_att": "ASPPDeformable",
25
+ "dec_blk": "BasicDecBlk",
26
+ "dec_channels_inter": "fixed",
27
+ "dec_ipt": true,
28
+ "dec_ipt_split": true,
29
+ "device": 0,
30
+ "dtype": "float32",
31
+ "ender": "",
32
+ "freeze_bb": false,
33
+ "lambda_adv_d": 0.0,
34
+ "lambda_adv_g": 0.0,
35
+ "lambdas_cls": {
36
+ "ce": 5.0
37
+ },
38
+ "lambdas_pix_last": {
39
+ "bce": 30,
40
+ "cnt": 0,
41
+ "iou": 0.5,
42
+ "iou_patch": 0.0,
43
+ "mse": 0,
44
+ "reg": 0,
45
+ "ssim": 10,
46
+ "structure": 0,
47
+ "triplet": 0
48
+ },
49
+ "lat_blk": "BasicLatBlk",
50
+ "lateral_channels_in_collection": [
51
+ 3072,
52
+ 1536,
53
+ 768,
54
+ 384
55
+ ],
56
+ "load_all": true,
57
+ "lr": 0.0001,
58
+ "lr_decay_epochs": [
59
+ 100000.0
60
+ ],
61
+ "lr_decay_rate": 0.5,
62
+ "model": "BiRefNet",
63
+ "ms_supervision": true,
64
+ "mul_scl_ipt": "cat",
65
+ "num_workers": 4,
66
+ "only_S_MAE": false,
67
+ "optimizer": "AdamW",
68
+ "out_ref": true,
69
+ "precisionHigh": true,
70
+ "preproc_methods": [
71
+ "flip",
72
+ "enhance",
73
+ "rotate",
74
+ "pepper"
75
+ ],
76
+ "progressive_ref": "",
77
+ "prompt4loc": "dense",
78
+ "rand_seed": 7,
79
+ "refine": "",
80
+ "refine_iteration": 1,
81
+ "scale": "",
82
+ "size": 1024,
83
+ "squeeze_block": "BasicDecBlk_x1",
84
+ "sys_home_dir": "/root",
85
+ "task": "DIS5K",
86
+ "training_set": "DIS-TR",
87
+ "transformers_version": "5.12.0",
88
+ "use_fp16": false,
89
+ "verbose_eval": true,
90
+ "weights": {
91
+ "pvt_v2_b0": "/root/weights/pvt_v2_b0.pth",
92
+ "pvt_v2_b1": "/root/weights/pvt_v2_b1.pth",
93
+ "pvt_v2_b2": "/root/weights/pvt_v2_b2.pth",
94
+ "pvt_v2_b5": "/root/weights/pvt_v2_b5.pth",
95
+ "swin_v1_b": "/root/weights/swin_base_patch4_window12_384_22kto1k.pth",
96
+ "swin_v1_l": "/root/weights/swin_large_patch4_window12_384_22kto1k.pth",
97
+ "swin_v1_s": "/root/weights/swin_small_patch4_window7_224_22kto1k_finetune.pth",
98
+ "swin_v1_t": "/root/weights/swin_tiny_patch4_window7_224_22kto1k_finetune.pth"
99
+ },
100
+ "weights_root_dir": "/root/weights"
101
+ }