Upload 3 files
Browse files- README.md +16 -0
- config.json +28 -0
- model.safetensors +3 -0
README.md
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: ben2
|
3 |
+
tags:
|
4 |
+
- BEN2
|
5 |
+
- Dichotomous image segmentation
|
6 |
+
- background remove
|
7 |
+
- background-remove
|
8 |
+
- mask-generation
|
9 |
+
- model_hub_mixin
|
10 |
+
- pytorch_model_hub_mixin
|
11 |
+
---
|
12 |
+
|
13 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
14 |
+
- Code: https://github.com/PramaLLC/BEN2
|
15 |
+
- Paper: [More Information Needed]
|
16 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architecture": "pruned",
|
3 |
+
"model_size": "30m",
|
4 |
+
"model_type": "ben2",
|
5 |
+
"pruning_info": {
|
6 |
+
"layers_pruned": "Reduced Swin Transformer depths from [2, 2, 18, 2] to [1, 1, 4, 1]",
|
7 |
+
"original_params": 94134658,
|
8 |
+
"pruned_params": 36275254,
|
9 |
+
"pruning_strategy": "depth_reduction",
|
10 |
+
"reduction_percent": 61.46450757806971
|
11 |
+
},
|
12 |
+
"swin_config": {
|
13 |
+
"depths": [
|
14 |
+
1,
|
15 |
+
1,
|
16 |
+
4,
|
17 |
+
1
|
18 |
+
],
|
19 |
+
"embed_dim": 128,
|
20 |
+
"num_heads": [
|
21 |
+
4,
|
22 |
+
8,
|
23 |
+
16,
|
24 |
+
32
|
25 |
+
],
|
26 |
+
"window_size": 12
|
27 |
+
}
|
28 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e64cef3ef57f958eec3d5d662c69ed573fd84fad8eceb578f5ee678c53d8218e
|
3 |
+
size 146293128
|