|
{ |
|
"_name_or_path": "/Users/jonathandinu/Desktop/PROJECTS/arch_fake_faces/ethereum/gcp/assets/segformer_b5", |
|
"architectures": [ |
|
"SegformerForSemanticSegmentation" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"classifier_dropout_prob": 0.1, |
|
"decoder_hidden_size": 768, |
|
"depths": [ |
|
3, |
|
6, |
|
40, |
|
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": "skin.png", |
|
"2": "nose.png", |
|
"3": "r_eye.png", |
|
"4": "l_eye.png", |
|
"5": "r_brow.png", |
|
"6": "l_brow.png", |
|
"7": "r_ear.png", |
|
"8": "l_ear.png", |
|
"9": "mouth.png", |
|
"10": "u_lip.png", |
|
"11": "l_lip.png", |
|
"12": "neck.png", |
|
"13": "hair.png", |
|
"14": "neck_l.png", |
|
"15": "cloth.png", |
|
"16": "eye_g.png", |
|
"17": "hat.png", |
|
"18": "ear_r.png" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"background": 0, |
|
"cloth.png": 15, |
|
"ear_r.png": 18, |
|
"eye_g.png": 16, |
|
"hair.png": 13, |
|
"hat.png": 17, |
|
"l_brow.png": 6, |
|
"l_ear.png": 8, |
|
"l_eye.png": 4, |
|
"l_lip.png": 11, |
|
"mouth.png": 9, |
|
"neck.png": 12, |
|
"neck_l.png": 14, |
|
"nose.png": 2, |
|
"r_brow.png": 5, |
|
"r_ear.png": 7, |
|
"r_eye.png": 3, |
|
"skin.png": 1, |
|
"u_lip.png": 10 |
|
}, |
|
"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.20.1" |
|
} |
|
|