cdl_maskformer_v1 / config.json
gdurkin's picture
Upload MaskFormerForInstanceSegmentation
1ea984b verified
raw
history blame contribute delete
No virus
1.61 kB
{
"_name_or_path": "gdurkin/cdl_maskformer_v1",
"architectures": [
"MaskFormerForInstanceSegmentation"
],
"backbone_config": {
"depths": [
2,
2,
18,
2
],
"drop_path_rate": 0.3,
"embed_dim": 128,
"hidden_size": 1024,
"image_size": 384,
"in_channels": 3,
"model_type": "swin",
"num_heads": [
4,
8,
16,
32
],
"out_features": [
"stage4"
],
"out_indices": [
4
],
"path_norm": true,
"pretrain_img_size": 384,
"window_size": 12
},
"ce_weight": 1.0,
"cross_entropy_weight": 1.0,
"decoder_config": {
"max_position_embeddings": 1024,
"model_type": "detr",
"scale_embedding": false
},
"dice_weight": 1.0,
"fpn_feature_size": 256,
"id2label": {
"0": "background",
"1": "water",
"2": "developed",
"3": "corn",
"4": "soybeans",
"5": "wheat",
"6": "other agriculture",
"7": "forest/wetlands",
"8": "open lands",
"9": "barren"
},
"init_std": 0.02,
"init_xavier_std": 1.0,
"label2id": {
"background": 0,
"barren": 9,
"corn": 3,
"developed": 2,
"forest/wetlands": 7,
"open lands": 8,
"other agriculture": 6,
"soybeans": 4,
"water": 1,
"wheat": 5
},
"mask_feature_size": 256,
"mask_weight": 20.0,
"model_type": "maskformer",
"no_object_weight": 0.1,
"num_attention_heads": 8,
"num_hidden_layers": 6,
"num_queries": 100,
"output_auxiliary_logits": null,
"torch_dtype": "float32",
"transformers_version": "4.37.0.dev0",
"use_auxiliary_loss": false
}