Upload MaskFormerForInstanceSegmentation
Browse files- config.json +2 -24
- model.safetensors +2 -2
config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
"_name_or_path": "/kaggle/input/maskformer-large/saved_model_epoch11",
|
3 |
-
"activation_function": "relu",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"backbone": null,
|
8 |
"backbone_config": {
|
@@ -43,30 +42,14 @@
|
|
43 |
},
|
44 |
"backbone_kwargs": null,
|
45 |
"ce_weight": 1.0,
|
46 |
-
"class_weight": 2.0,
|
47 |
-
"common_stride": 4,
|
48 |
"cross_entropy_weight": 1.0,
|
49 |
"decoder_config": {
|
50 |
"max_position_embeddings": 1024,
|
51 |
"model_type": "detr",
|
52 |
"scale_embedding": false
|
53 |
},
|
54 |
-
"decoder_layers": 10,
|
55 |
"dice_weight": 1.0,
|
56 |
-
"dim_feedforward": 2048,
|
57 |
-
"dropout": 0.0,
|
58 |
-
"encoder_feedforward_dim": 1024,
|
59 |
-
"encoder_layers": 6,
|
60 |
-
"enforce_input_projection": false,
|
61 |
-
"feature_size": 256,
|
62 |
-
"feature_strides": [
|
63 |
-
4,
|
64 |
-
8,
|
65 |
-
16,
|
66 |
-
32
|
67 |
-
],
|
68 |
"fpn_feature_size": 256,
|
69 |
-
"hidden_dim": 256,
|
70 |
"id2label": {
|
71 |
"0": "water",
|
72 |
"1": "whitewater",
|
@@ -76,8 +59,6 @@
|
|
76 |
"5": "development",
|
77 |
"6": "unknown"
|
78 |
},
|
79 |
-
"ignore_value": 255,
|
80 |
-
"importance_sample_ratio": 0.75,
|
81 |
"init_std": 0.02,
|
82 |
"init_xavier_std": 1.0,
|
83 |
"label2id": {
|
@@ -91,16 +72,13 @@
|
|
91 |
},
|
92 |
"mask_feature_size": 256,
|
93 |
"mask_weight": 20.0,
|
94 |
-
"model_type": "
|
95 |
"no_object_weight": 0.1,
|
96 |
"num_attention_heads": 8,
|
97 |
"num_hidden_layers": 6,
|
98 |
"num_queries": 100,
|
99 |
"output_auxiliary_logits": null,
|
100 |
-
"oversample_ratio": 3.0,
|
101 |
-
"pre_norm": false,
|
102 |
"torch_dtype": "float32",
|
103 |
-
"train_num_points": 12544,
|
104 |
"transformers_version": "4.38.1",
|
105 |
"use_auxiliary_loss": false,
|
106 |
"use_pretrained_backbone": false,
|
|
|
1 |
{
|
2 |
"_name_or_path": "/kaggle/input/maskformer-large/saved_model_epoch11",
|
|
|
3 |
"architectures": [
|
4 |
+
"MaskFormerForInstanceSegmentation"
|
5 |
],
|
6 |
"backbone": null,
|
7 |
"backbone_config": {
|
|
|
42 |
},
|
43 |
"backbone_kwargs": null,
|
44 |
"ce_weight": 1.0,
|
|
|
|
|
45 |
"cross_entropy_weight": 1.0,
|
46 |
"decoder_config": {
|
47 |
"max_position_embeddings": 1024,
|
48 |
"model_type": "detr",
|
49 |
"scale_embedding": false
|
50 |
},
|
|
|
51 |
"dice_weight": 1.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
"fpn_feature_size": 256,
|
|
|
53 |
"id2label": {
|
54 |
"0": "water",
|
55 |
"1": "whitewater",
|
|
|
59 |
"5": "development",
|
60 |
"6": "unknown"
|
61 |
},
|
|
|
|
|
62 |
"init_std": 0.02,
|
63 |
"init_xavier_std": 1.0,
|
64 |
"label2id": {
|
|
|
72 |
},
|
73 |
"mask_feature_size": 256,
|
74 |
"mask_weight": 20.0,
|
75 |
+
"model_type": "maskformer",
|
76 |
"no_object_weight": 0.1,
|
77 |
"num_attention_heads": 8,
|
78 |
"num_hidden_layers": 6,
|
79 |
"num_queries": 100,
|
80 |
"output_auxiliary_logits": null,
|
|
|
|
|
81 |
"torch_dtype": "float32",
|
|
|
82 |
"transformers_version": "4.38.1",
|
83 |
"use_auxiliary_loss": false,
|
84 |
"use_pretrained_backbone": false,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6f37487abd9ef04e7dd6b97b594cf9d651d3f1adc8ccd5297eacfa788a6c1bb
|
3 |
+
size 850247904
|