my_awesome_model / config.json
qubvel-hf's picture
qubvel-hf HF staff
Upload TimmWrapperForImageClassification
ee78749 verified
{
"_name_or_path": "timm/resnet18.a1_in1k",
"architecture": "resnet18",
"architectures": [
"TimmWrapperForImageClassification"
],
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1",
"2": "LABEL_2",
"3": "LABEL_3",
"4": "LABEL_4",
"5": "LABEL_5",
"6": "LABEL_6",
"7": "LABEL_7",
"8": "LABEL_8",
"9": "LABEL_9"
},
"initializer_range": 0.02,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_2": 2,
"LABEL_3": 3,
"LABEL_4": 4,
"LABEL_5": 5,
"LABEL_6": 6,
"LABEL_7": 7,
"LABEL_8": 8,
"LABEL_9": 9
},
"model_type": "timm_wrapper",
"num_classes": 10,
"num_features": 512,
"pretrained_cfg": {
"classifier": "fc",
"crop_mode": "center",
"crop_pct": 0.95,
"custom_load": false,
"first_conv": "conv1",
"fixed_input_size": false,
"input_size": [
3,
224,
224
],
"interpolation": "bicubic",
"mean": [
0.485,
0.456,
0.406
],
"origin_url": "https://github.com/huggingface/pytorch-image-models",
"paper_ids": "arXiv:2110.00476",
"pool_size": [
7,
7
],
"std": [
0.229,
0.224,
0.225
],
"tag": "a1_in1k",
"test_crop_pct": 1.0,
"test_input_size": [
3,
288,
288
]
},
"torch_dtype": "float32",
"transformers_version": "4.47.0.dev0"
}