fish-classification / config.json
beercan's picture
commit files to HF hub
0da30d5
{
"_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": "arctic char",
"1": "asp fish",
"10": "cuckoo wrasse fish",
"11": "european plaice",
"12": "grayling fish",
"13": "haddock fish",
"14": "perch",
"15": "pike",
"16": "pollock fish",
"17": "rainbow trout",
"18": "roach fish",
"19": "tench fish",
"2": "atlantic cod",
"20": "trout",
"21": "white bream",
"22": "zander fish",
"3": "atlantic halibyt",
"4": "atlantic herring",
"5": "atlantic mackerel",
"6": "atlantic salmon",
"7": "common bleak fish",
"8": "common bream",
"9": "crucian carp"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"arctic char": "0",
"asp fish": "1",
"atlantic cod": "2",
"atlantic halibyt": "3",
"atlantic herring": "4",
"atlantic mackerel": "5",
"atlantic salmon": "6",
"common bleak fish": "7",
"common bream": "8",
"crucian carp": "9",
"cuckoo wrasse fish": "10",
"european plaice": "11",
"grayling fish": "12",
"haddock fish": "13",
"perch": "14",
"pike": "15",
"pollock fish": "16",
"rainbow trout": "17",
"roach fish": "18",
"tench fish": "19",
"trout": "20",
"white bream": "21",
"zander fish": "22"
},
"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.47.1"
}