|
{ |
|
"_name_or_path": "microsoft/resnet-50", |
|
"architectures": [ |
|
"ResNetForImageClassification" |
|
], |
|
"depths": [ |
|
3, |
|
4, |
|
6, |
|
3 |
|
], |
|
"downsample_in_first_stage": false, |
|
"embedding_size": 64, |
|
"hidden_act": "relu", |
|
"hidden_sizes": [ |
|
256, |
|
512, |
|
1024, |
|
2048 |
|
], |
|
"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" |
|
}, |
|
"label2id": { |
|
"0-2": "0", |
|
"10-19": "2", |
|
"20-29": "3", |
|
"3-9": "1", |
|
"30-39": "4", |
|
"40-49": "5", |
|
"50-59": "6", |
|
"60-69": "7", |
|
"more than 70": "8" |
|
}, |
|
"layer_type": "bottleneck", |
|
"model_type": "resnet", |
|
"num_channels": 3, |
|
"out_features": [ |
|
"stage4" |
|
], |
|
"out_indices": [ |
|
4 |
|
], |
|
"problem_type": "single_label_classification", |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4" |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.34.0" |
|
} |
|
|