|
{ |
|
"_name_or_path": "facebook/dinov2-base", |
|
"apply_layernorm": true, |
|
"architectures": [ |
|
"Dinov2ForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"drop_path_rate": 0.0, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "aardvark", |
|
"1": "bird", |
|
"2": "black-and-white colobus", |
|
"3": "blue duiker", |
|
"4": "buffalo", |
|
"5": "bushbuck", |
|
"6": "bushpig", |
|
"7": "cattle", |
|
"8": "chimpanzee", |
|
"9": "civet_genet", |
|
"10": "dog_jackal", |
|
"11": "elephant", |
|
"12": "galago_potto", |
|
"13": "goat", |
|
"14": "golden cat", |
|
"15": "gorilla", |
|
"16": "guineafowl", |
|
"17": "honey badger", |
|
"18": "leopard", |
|
"19": "mandrill", |
|
"20": "mongoose", |
|
"21": "monkey", |
|
"22": "olive baboon", |
|
"23": "pangolin", |
|
"24": "porcupine", |
|
"25": "red colobus_red-capped mangabey", |
|
"26": "red duiker", |
|
"27": "rodent", |
|
"28": "serval", |
|
"29": "spotted hyena", |
|
"30": "squirel", |
|
"31": "water chevrotain", |
|
"32": "yellow-backed duiker" |
|
}, |
|
"image_size": 518, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"aardvark": 0, |
|
"bird": 1, |
|
"black-and-white colobus": 2, |
|
"blue duiker": 3, |
|
"buffalo": 4, |
|
"bushbuck": 5, |
|
"bushpig": 6, |
|
"cattle": 7, |
|
"chimpanzee": 8, |
|
"civet_genet": 9, |
|
"dog_jackal": 10, |
|
"elephant": 11, |
|
"galago_potto": 12, |
|
"goat": 13, |
|
"golden cat": 14, |
|
"gorilla": 15, |
|
"guineafowl": 16, |
|
"honey badger": 17, |
|
"leopard": 18, |
|
"mandrill": 19, |
|
"mongoose": 20, |
|
"monkey": 21, |
|
"olive baboon": 22, |
|
"pangolin": 23, |
|
"porcupine": 24, |
|
"red colobus_red-capped mangabey": 25, |
|
"red duiker": 26, |
|
"rodent": 27, |
|
"serval": 28, |
|
"spotted hyena": 29, |
|
"squirel": 30, |
|
"water chevrotain": 31, |
|
"yellow-backed duiker": 32 |
|
}, |
|
"layer_norm_eps": 1e-06, |
|
"layerscale_value": 1.0, |
|
"mlp_ratio": 4, |
|
"model_type": "dinov2", |
|
"num_attention_heads": 12, |
|
"num_channels": 3, |
|
"num_hidden_layers": 12, |
|
"out_features": [ |
|
"stage12" |
|
], |
|
"out_indices": [ |
|
12 |
|
], |
|
"patch_size": 14, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"reshape_hidden_states": true, |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4", |
|
"stage5", |
|
"stage6", |
|
"stage7", |
|
"stage8", |
|
"stage9", |
|
"stage10", |
|
"stage11", |
|
"stage12" |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.40.2", |
|
"use_swiglu_ffn": false |
|
} |
|
|