sababa_v2 / config.json
davidshina2404's picture
Upload 7 files
77fb049 verified
Raw
History Blame Contribute Delete
1.9 kB
{
"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,
"dtype": "float32",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_sizes": [
64,
128,
320,
512
],
"id2label": {
"0": "background",
"1": "shirt, blouse",
"2": "top, t-shirt, sweatshirt",
"3": "sweater",
"4": "cardigan",
"5": "jacket",
"6": "vest",
"7": "pants",
"8": "shorts",
"9": "skirt",
"10": "coat",
"11": "dress",
"12": "glasses",
"13": "hat",
"14": "tie",
"15": "glove",
"16": "watch",
"17": "belt",
"18": "tights, stockings",
"19": "sock",
"20": "shoe",
"21": "bag",
"22": "scarf"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"background": 0,
"bag": 21,
"belt": 17,
"cardigan": 4,
"coat": 10,
"dress": 11,
"glasses": 12,
"glove": 15,
"hat": 13,
"jacket": 5,
"pants": 7,
"scarf": 22,
"shirt, blouse": 1,
"shoe": 20,
"shorts": 8,
"skirt": 9,
"sock": 19,
"sweater": 3,
"tie": 14,
"tights, stockings": 18,
"top, t-shirt, sweatshirt": 2,
"vest": 6,
"watch": 16
},
"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
],
"transformers_version": "5.0.0",
"use_cache": false
}