faultclass / preprocessor_config.json
jnjconsulting's picture
Upload preprocessor_config.json
398fabc
raw
history blame
1.19 kB
{
"_name_or_path": "google/vit-base-patch16-224-in21k",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "concentrator_broken",
"1": "insectscreen_check",
"2": "pedal_malfunction",
"3": "sink_damage",
"4": "tile_damage",
"5": "toilet_damage",
"6": "wall_contamination",
"7": "wall_crack",
"8": "wall_peeloff",
"9": "window_frame_damage"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"concentrator_broken": 0,
"insectscreen_check": 1,
"pedal_malfunction": 2,
"sink_damage": 3,
"tile_damage": 4,
"toilet_damage": 5,
"wall_contamination": 6,
"wall_crack": 7,
"wall_peeloff": 8,
"window_frame_damage": 9
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.33.1"
}