|
{ |
|
"_name_or_path": "facebook/mask2former-swin-base-ade-semantic", |
|
"activation_function": "relu", |
|
"architectures": [ |
|
"Mask2FormerForUniversalSegmentation" |
|
], |
|
"backbone": null, |
|
"backbone_config": { |
|
"depths": [ |
|
2, |
|
2, |
|
18, |
|
2 |
|
], |
|
"drop_path_rate": 0.3, |
|
"embed_dim": 128, |
|
"hidden_size": 1024, |
|
"model_type": "swin", |
|
"num_heads": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"out_features": [ |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"out_indices": [ |
|
1, |
|
2, |
|
3, |
|
4 |
|
], |
|
"path_norm": true, |
|
"window_size": 12 |
|
}, |
|
"backbone_kwargs": null, |
|
"class_weight": 2.0, |
|
"common_stride": 4, |
|
"decoder_layers": 10, |
|
"dice_weight": 5.0, |
|
"dim_feedforward": 2048, |
|
"dropout": 0.0, |
|
"encoder_feedforward_dim": 1024, |
|
"encoder_layers": 6, |
|
"enforce_input_proj": false, |
|
"enforce_input_projection": false, |
|
"feature_size": 256, |
|
"feature_strides": [ |
|
4, |
|
8, |
|
16, |
|
32 |
|
], |
|
"hidden_dim": 256, |
|
"id2label": { |
|
"0": "Unlabeled", |
|
"1": "Healthy", |
|
"2": "Brownspot", |
|
"3": "LeafBlast" |
|
}, |
|
"ignore_value": 255, |
|
"importance_sample_ratio": 0.75, |
|
"init_std": 0.02, |
|
"init_xavier_std": 1.0, |
|
"label2id": { |
|
"airplane": 90, |
|
"animal": 126, |
|
"apparel": 92, |
|
"arcade machine": 78, |
|
"armchair": 30, |
|
"ashcan": 138, |
|
"awning": 86, |
|
"bag": 115, |
|
"ball": 119, |
|
"bannister": 95, |
|
"bar": 77, |
|
"barrel": 111, |
|
"base": 40, |
|
"basket": 112, |
|
"bathtub": 37, |
|
"bed ": 7, |
|
"bench": 69, |
|
"bicycle": 127, |
|
"blanket": 131, |
|
"blind": 63, |
|
"boat": 76, |
|
"book": 67, |
|
"bookcase": 62, |
|
"booth": 88, |
|
"bottle": 98, |
|
"box": 41, |
|
"bridge": 61, |
|
"buffet": 99, |
|
"building": 1, |
|
"bulletin board": 144, |
|
"bus": 80, |
|
"cabinet": 10, |
|
"canopy": 106, |
|
"car": 20, |
|
"case": 55, |
|
"ceiling": 5, |
|
"chair": 19, |
|
"chandelier": 85, |
|
"chest of drawers": 44, |
|
"clock": 148, |
|
"coffee table": 64, |
|
"column": 42, |
|
"computer": 74, |
|
"conveyer belt": 105, |
|
"counter": 45, |
|
"countertop": 70, |
|
"cradle": 117, |
|
"crt screen": 141, |
|
"curtain": 18, |
|
"cushion": 39, |
|
"desk": 33, |
|
"dirt track": 91, |
|
"dishwasher": 129, |
|
"door": 14, |
|
"earth": 13, |
|
"escalator": 96, |
|
"fan": 139, |
|
"fence": 32, |
|
"field": 29, |
|
"fireplace": 49, |
|
"flag": 149, |
|
"floor": 3, |
|
"flower": 66, |
|
"food": 120, |
|
"fountain": 104, |
|
"glass": 147, |
|
"grandstand": 51, |
|
"grass": 9, |
|
"hill": 68, |
|
"hood": 133, |
|
"house": 25, |
|
"hovel": 79, |
|
"kitchen island": 73, |
|
"lake": 128, |
|
"lamp": 36, |
|
"land": 94, |
|
"light": 82, |
|
"microwave": 124, |
|
"minibike": 116, |
|
"mirror": 27, |
|
"monitor": 143, |
|
"mountain": 16, |
|
"ottoman": 97, |
|
"oven": 118, |
|
"painting": 22, |
|
"palm": 72, |
|
"path": 52, |
|
"person": 12, |
|
"pier": 140, |
|
"pillow": 57, |
|
"plant": 17, |
|
"plate": 142, |
|
"plaything": 108, |
|
"pole": 93, |
|
"pool table": 56, |
|
"poster": 100, |
|
"pot": 125, |
|
"radiator": 146, |
|
"railing": 38, |
|
"refrigerator": 50, |
|
"river": 60, |
|
"road": 6, |
|
"rock": 34, |
|
"rug": 28, |
|
"runway": 54, |
|
"sand": 46, |
|
"sconce": 134, |
|
"screen": 130, |
|
"screen door": 58, |
|
"sculpture": 132, |
|
"sea": 26, |
|
"seat": 31, |
|
"shelf": 24, |
|
"ship": 103, |
|
"shower": 145, |
|
"sidewalk": 11, |
|
"signboard": 43, |
|
"sink": 47, |
|
"sky": 2, |
|
"skyscraper": 48, |
|
"sofa": 23, |
|
"stage": 101, |
|
"stairs": 53, |
|
"stairway": 59, |
|
"step": 121, |
|
"stool": 110, |
|
"stove": 71, |
|
"streetlight": 87, |
|
"swimming pool": 109, |
|
"swivel chair": 75, |
|
"table": 15, |
|
"tank": 122, |
|
"television receiver": 89, |
|
"tent": 114, |
|
"toilet": 65, |
|
"towel": 81, |
|
"tower": 84, |
|
"trade name": 123, |
|
"traffic light": 136, |
|
"tray": 137, |
|
"tree": 4, |
|
"truck": 83, |
|
"van": 102, |
|
"vase": 135, |
|
"wall": 0, |
|
"wardrobe": 35, |
|
"washer": 107, |
|
"water": 21, |
|
"waterfall": 113, |
|
"windowpane": 8 |
|
}, |
|
"mask_feature_size": 256, |
|
"mask_weight": 5.0, |
|
"model_type": "mask2former", |
|
"no_object_weight": 0.1, |
|
"num_attention_heads": 8, |
|
"num_hidden_layers": 10, |
|
"num_queries": 100, |
|
"output_auxiliary_logits": null, |
|
"oversample_ratio": 3.0, |
|
"pre_norm": false, |
|
"torch_dtype": "float32", |
|
"train_num_points": 12544, |
|
"transformers_version": "4.41.0", |
|
"use_auxiliary_loss": true, |
|
"use_pretrained_backbone": false, |
|
"use_timm_backbone": false |
|
} |
|
|