|
{ |
|
"_name_or_path": "nvidia/mit-b2", |
|
"architectures": [ |
|
"SegformerForSemanticSegmentation" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"classifier_dropout_prob": 0.1, |
|
"decoder_hidden_size": 768, |
|
"depths": [ |
|
3, |
|
4, |
|
6, |
|
3 |
|
], |
|
"downsampling_rates": [ |
|
1, |
|
4, |
|
8, |
|
16 |
|
], |
|
"drop_path_rate": 0.1, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_sizes": [ |
|
64, |
|
128, |
|
320, |
|
512 |
|
], |
|
"id2label": { |
|
"0": "background", |
|
"1": "ship", |
|
"2": "small-vehicle", |
|
"3": "tennis-court", |
|
"4": "helicopter", |
|
"5": "basketball-court", |
|
"6": "ground-track-field", |
|
"7": "swimming-pool", |
|
"8": "harbor", |
|
"9": "soccer-ball-field", |
|
"10": "plane", |
|
"11": "storage-tank", |
|
"12": "baseball-diamond", |
|
"13": "large-vehicle", |
|
"14": "bridge", |
|
"15": "roundabout" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"background": "0", |
|
"baseball-diamond": "12", |
|
"basketball-court": "5", |
|
"bridge": "14", |
|
"ground-track-field": "6", |
|
"harbor": "8", |
|
"helicopter": "4", |
|
"large-vehicle": "13", |
|
"plane": "10", |
|
"roundabout": "15", |
|
"ship": "1", |
|
"small-vehicle": "2", |
|
"soccer-ball-field": "9", |
|
"storage-tank": "11", |
|
"swimming-pool": "7", |
|
"tennis-court": "3" |
|
}, |
|
"layer_norm_eps": 1e-06, |
|
"mlp_ratios": [ |
|
4, |
|
4, |
|
4, |
|
4 |
|
], |
|
"model_type": "segformer", |
|
"num_attention_heads": [ |
|
1, |
|
2, |
|
5, |
|
8 |
|
], |
|
"num_channels": 3, |
|
"num_encoder_blocks": 4, |
|
"patch_sizes": [ |
|
7, |
|
3, |
|
3, |
|
3 |
|
], |
|
"reshape_last_stage": true, |
|
"semantic_loss_ignore_index": 255, |
|
"sr_ratios": [ |
|
8, |
|
4, |
|
2, |
|
1 |
|
], |
|
"strides": [ |
|
4, |
|
2, |
|
2, |
|
2 |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.35.0.dev0" |
|
} |
|
|