first commit
This commit is contained in:
parent
2dd942b57a
commit
e4dc68bc69
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
||||
"architectures": [
|
||||
"ViTForImageClassification"
|
||||
],
|
||||
"attention_probs_dropout_prob": 0.0,
|
||||
"hidden_act": "gelu",
|
||||
"hidden_dropout_prob": 0.0,
|
||||
"hidden_size": 768,
|
||||
"id2label": {
|
||||
"0": "0-2",
|
||||
"1": "3-9",
|
||||
"2": "10-19",
|
||||
"3": "20-29",
|
||||
"4": "30-39",
|
||||
"5": "40-49",
|
||||
"6": "50-59",
|
||||
"7": "60-69",
|
||||
"8": "more than 70"
|
||||
},
|
||||
"image_size": 224,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 3072,
|
||||
"label2id": {
|
||||
"0-2": 0,
|
||||
"3-9": 1,
|
||||
"10-19": 2,
|
||||
"20-29": 3,
|
||||
"30-39": 4,
|
||||
"40-49": 5,
|
||||
"50-59": 6,
|
||||
"60-69": 7,
|
||||
"more than 70": 8
|
||||
},
|
||||
"layer_norm_eps": 1e-12,
|
||||
"model_type": "vit",
|
||||
"num_attention_heads": 12,
|
||||
"num_channels": 3,
|
||||
"num_hidden_layers": 12,
|
||||
"patch_size": 16,
|
||||
"transformers_version": "4.5.0.dev0"
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"do_normalize": true,
|
||||
"do_resize": true,
|
||||
"image_mean": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"image_std": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"size": 224
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue