acanadaSpl commited on
Commit
7e81b7c
·
verified ·
1 Parent(s): a2aeec8

Config without unused options; BiRefNet without training-only heads

Browse files
Files changed (2) hide show
  1. birefnet.safetensors +2 -2
  2. config.json +6 -37
birefnet.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9ab37426bf4de0567af6b5d21b16151357149139362e6e8992021b8ce356a154
3
- size 444473596
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44bbc97b041f879975d0d6d538b8e66a25eb04d1f49aab40697544cdd97eaa8e
3
+ size 444466856
config.json CHANGED
@@ -5,48 +5,36 @@
5
  "q_token_length": 8192,
6
  "in_channels": 16,
7
  "cam_channels": 5,
8
- "out_channels": 16,
9
  "model_channels": 1024,
10
  "cond_channels": 1280,
11
  "cond2_channels": 128,
12
- "num_refiner_blocks": 2,
13
  "num_blocks": 24,
 
14
  "num_heads": 16,
15
- "mlp_ratio": 4,
16
- "pe_mode": "3d_ot_repo",
17
- "qk_rms_norm": true,
18
- "share_mod": true,
19
- "use_shift_table": true,
20
- "use_fp16": true
21
  }
22
  },
23
  "decoder": {
24
  "name": "OctreeProbabilityFixedlenDecoder",
25
  "args": {
26
- "pcd_pe_mode": "pcd_ape_v2",
27
  "model_channels": 1024,
28
  "cond_channels": 16,
29
  "num_blocks": 4,
30
  "num_heads": 16,
31
- "mlp_ratio": 4,
32
- "share_mod": true,
33
- "use_fp16": true
34
  }
35
  },
36
  "decoder_gs": {
37
  "name": "GaussianFixedlenDecoder",
38
  "args": {
39
- "pcd_pe_mode": "pcd_ape_v2",
40
  "in_channels": 3,
41
  "model_channels": 1024,
42
  "cond_channels": 16,
43
  "num_blocks": 16,
44
  "num_heads": 16,
45
  "mlp_ratio": 4,
46
- "use_fp16": true,
47
- "use_learned_offset_scale": true,
48
- "use_per_offset": true,
49
  "representation_config": {
 
50
  "lr": {
51
  "_xyz": 1.0,
52
  "_features_dc": 1.0,
@@ -54,36 +42,17 @@
54
  "_scaling": 1.0,
55
  "_rotation": 0.1
56
  },
57
- "perturb_offset": true,
58
  "perturbe_size": 1.5,
59
- "offset_scale": 0.05,
60
- "num_gaussians": 32,
61
- "2d_filter_kernel_size": 0.1,
62
  "3d_filter_kernel_size": 0.0009,
63
  "scaling_bias": 0.004,
64
- "opacity_bias": 0.1,
65
- "scaling_activation": "softplus"
66
  }
67
  }
68
  },
69
  "image_size": 1024,
70
  "max_voxel_level": 8,
71
- "max_sampled_points": 8192,
72
- "sigma_min": 1e-05,
73
  "image_encoders": {
74
  "dinov3": "facebook/dinov3-vith16plus-pretrain-lvd1689m",
75
- "flux2_vae": "black-forest-labs/FLUX.2-dev",
76
- "resolution": 1024
77
- },
78
- "defaults": {
79
- "seed": 42,
80
- "steps": 50,
81
- "cfg_strength": 3.0,
82
- "rescale_t": 3.0,
83
- "num_gaussians": 262144,
84
- "crop_margin": {
85
- "synthetic": 1.2,
86
- "real": 1.7
87
- }
88
  }
89
  }
 
5
  "q_token_length": 8192,
6
  "in_channels": 16,
7
  "cam_channels": 5,
 
8
  "model_channels": 1024,
9
  "cond_channels": 1280,
10
  "cond2_channels": 128,
 
11
  "num_blocks": 24,
12
+ "num_refiner_blocks": 2,
13
  "num_heads": 16,
14
+ "mlp_ratio": 4
 
 
 
 
 
15
  }
16
  },
17
  "decoder": {
18
  "name": "OctreeProbabilityFixedlenDecoder",
19
  "args": {
 
20
  "model_channels": 1024,
21
  "cond_channels": 16,
22
  "num_blocks": 4,
23
  "num_heads": 16,
24
+ "mlp_ratio": 4
 
 
25
  }
26
  },
27
  "decoder_gs": {
28
  "name": "GaussianFixedlenDecoder",
29
  "args": {
 
30
  "in_channels": 3,
31
  "model_channels": 1024,
32
  "cond_channels": 16,
33
  "num_blocks": 16,
34
  "num_heads": 16,
35
  "mlp_ratio": 4,
 
 
 
36
  "representation_config": {
37
+ "num_gaussians": 32,
38
  "lr": {
39
  "_xyz": 1.0,
40
  "_features_dc": 1.0,
 
42
  "_scaling": 1.0,
43
  "_rotation": 0.1
44
  },
 
45
  "perturbe_size": 1.5,
 
 
 
46
  "3d_filter_kernel_size": 0.0009,
47
  "scaling_bias": 0.004,
48
+ "opacity_bias": 0.1
 
49
  }
50
  }
51
  },
52
  "image_size": 1024,
53
  "max_voxel_level": 8,
 
 
54
  "image_encoders": {
55
  "dinov3": "facebook/dinov3-vith16plus-pretrain-lvd1689m",
56
+ "flux2_vae": "black-forest-labs/FLUX.2-dev"
 
 
 
 
 
 
 
 
 
 
 
 
57
  }
58
  }