Upload 4 files
Browse files- config.json +66 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "microsoft/resnet-50",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ResNetForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"depths": [
|
| 7 |
+
3,
|
| 8 |
+
4,
|
| 9 |
+
6,
|
| 10 |
+
3
|
| 11 |
+
],
|
| 12 |
+
"downsample_in_first_stage": false,
|
| 13 |
+
"embedding_size": 64,
|
| 14 |
+
"hidden_act": "relu",
|
| 15 |
+
"hidden_sizes": [
|
| 16 |
+
256,
|
| 17 |
+
512,
|
| 18 |
+
1024,
|
| 19 |
+
2048
|
| 20 |
+
],
|
| 21 |
+
"id2label": {
|
| 22 |
+
"0": "Agaricus",
|
| 23 |
+
"1": "Amanita",
|
| 24 |
+
"10": "Suillus",
|
| 25 |
+
"2": "Boletus",
|
| 26 |
+
"3": "Cortinarius",
|
| 27 |
+
"4": "Entoloma",
|
| 28 |
+
"5": "Exidia",
|
| 29 |
+
"6": "Hygrocybe",
|
| 30 |
+
"7": "Inocybe",
|
| 31 |
+
"8": "Lactarius",
|
| 32 |
+
"9": "Russula"
|
| 33 |
+
},
|
| 34 |
+
"label2id": {
|
| 35 |
+
"Agaricus": "0",
|
| 36 |
+
"Amanita": "1",
|
| 37 |
+
"Boletus": "2",
|
| 38 |
+
"Cortinarius": "3",
|
| 39 |
+
"Entoloma": "4",
|
| 40 |
+
"Exidia": "5",
|
| 41 |
+
"Hygrocybe": "6",
|
| 42 |
+
"Inocybe": "7",
|
| 43 |
+
"Lactarius": "8",
|
| 44 |
+
"Russula": "9",
|
| 45 |
+
"Suillus": "10"
|
| 46 |
+
},
|
| 47 |
+
"layer_type": "bottleneck",
|
| 48 |
+
"model_type": "resnet",
|
| 49 |
+
"num_channels": 3,
|
| 50 |
+
"out_features": [
|
| 51 |
+
"stage4"
|
| 52 |
+
],
|
| 53 |
+
"out_indices": [
|
| 54 |
+
4
|
| 55 |
+
],
|
| 56 |
+
"problem_type": "single_label_classification",
|
| 57 |
+
"stage_names": [
|
| 58 |
+
"stem",
|
| 59 |
+
"stage1",
|
| 60 |
+
"stage2",
|
| 61 |
+
"stage3",
|
| 62 |
+
"stage4"
|
| 63 |
+
],
|
| 64 |
+
"torch_dtype": "float32",
|
| 65 |
+
"transformers_version": "4.32.1"
|
| 66 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_pct": 0.875,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "ConvNextImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 3,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"shortest_edge": 224
|
| 21 |
+
}
|
| 22 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d418ac5e29722451714cbda48b3914b086069cd0a79d650853c3db0174ba497d
|
| 3 |
+
size 94448717
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11fde21a3be991c41f56f41019d9c6deacfebe7a2e78ec46dbe95a3a4d4abdfd
|
| 3 |
+
size 4027
|