Update config.json
Browse files- config.json +7 -26
config.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"pipeline_tag": "image-segmentation",
|
|
|
|
| 4 |
"architectures": [
|
| 5 |
"MaskFormerForInstanceSegmentation"
|
| 6 |
],
|
| 7 |
-
"backbone":
|
| 8 |
"backbone_config": {
|
| 9 |
-
"depths": [
|
| 10 |
-
2,
|
| 11 |
-
2,
|
| 12 |
-
6,
|
| 13 |
-
2
|
| 14 |
-
],
|
| 15 |
"drop_path_rate": 0.3,
|
| 16 |
"embed_dim": 96,
|
| 17 |
"encoder_stride": 32,
|
|
@@ -19,24 +15,9 @@
|
|
| 19 |
"image_size": 224,
|
| 20 |
"in_channels": 3,
|
| 21 |
"model_type": "maskformer-swin",
|
| 22 |
-
"num_heads": [
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
12,
|
| 26 |
-
24
|
| 27 |
-
],
|
| 28 |
-
"out_features": [
|
| 29 |
-
"stage1",
|
| 30 |
-
"stage2",
|
| 31 |
-
"stage3",
|
| 32 |
-
"stage4"
|
| 33 |
-
],
|
| 34 |
-
"out_indices": [
|
| 35 |
-
1,
|
| 36 |
-
2,
|
| 37 |
-
3,
|
| 38 |
-
4
|
| 39 |
-
],
|
| 40 |
"path_norm": true,
|
| 41 |
"pretrain_img_size": 224,
|
| 42 |
"window_size": 7
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "Dreamy0/GermiNet-instance-segmentation-maskformer",
|
| 3 |
"pipeline_tag": "image-segmentation",
|
| 4 |
+
"task": "instance-segmentation",
|
| 5 |
"architectures": [
|
| 6 |
"MaskFormerForInstanceSegmentation"
|
| 7 |
],
|
| 8 |
+
"backbone": "swin-tiny",
|
| 9 |
"backbone_config": {
|
| 10 |
+
"depths": [2, 2, 6, 2],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"drop_path_rate": 0.3,
|
| 12 |
"embed_dim": 96,
|
| 13 |
"encoder_stride": 32,
|
|
|
|
| 15 |
"image_size": 224,
|
| 16 |
"in_channels": 3,
|
| 17 |
"model_type": "maskformer-swin",
|
| 18 |
+
"num_heads": [3, 6, 12, 24],
|
| 19 |
+
"out_features": ["stage1", "stage2", "stage3", "stage4"],
|
| 20 |
+
"out_indices": [1, 2, 3, 4],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"path_norm": true,
|
| 22 |
"pretrain_img_size": 224,
|
| 23 |
"window_size": 7
|