{ | |
"_name_or_path": "microsoft/resnet-18", | |
"architectures": [ | |
"ResNetForImageClassification" | |
], | |
"depths": [ | |
2, | |
2, | |
2, | |
2 | |
], | |
"downsample_in_first_stage": false, | |
"embedding_size": 64, | |
"hidden_act": "relu", | |
"hidden_sizes": [ | |
64, | |
128, | |
256, | |
512 | |
], | |
"id2label": { | |
"0": "Grey", | |
"1": "Beige", | |
"2": "Green", | |
"3": "Orange", | |
"4": "Yellow", | |
"5": "Blue", | |
"6": "Brown", | |
"7": "Red", | |
"8": "White", | |
"9": "Silver", | |
"10": "Black" | |
}, | |
"label2id": { | |
"Beige": 1, | |
"Black": 10, | |
"Blue": 5, | |
"Brown": 6, | |
"Green": 2, | |
"Grey": 0, | |
"Orange": 3, | |
"Red": 7, | |
"Silver": 9, | |
"White": 8, | |
"Yellow": 4 | |
}, | |
"layer_type": "basic", | |
"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.33.0" | |
} | |