system HF staff commited on
Commit
b018e6c
1 Parent(s): 86dec0f

Commit From AutoTrain

Browse files
Files changed (5) hide show
  1. .gitattributes +3 -0
  2. README.md +37 -0
  3. config.json +90 -0
  4. preprocessor_config.json +23 -0
  5. pytorch_model.bin +3 -0
.gitattributes CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
36
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - vision
5
+ - image-classification
6
+ datasets:
7
+ - OttoYu/autotrain-data-tree-class
8
+ widget:
9
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
10
+ example_title: Tiger
11
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
12
+ example_title: Teapot
13
+ - src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
14
+ example_title: Palace
15
+ co2_eq_emissions:
16
+ emissions: 1.3038362907488008
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Multi-class Classification
22
+ - Model ID: 43934111254
23
+ - CO2 Emissions (in grams): 1.3038
24
+
25
+ ## Validation Metrics
26
+
27
+ - Loss: 1.314
28
+ - Accuracy: 0.537
29
+ - Macro F1: 0.462
30
+ - Micro F1: 0.537
31
+ - Weighted F1: 0.515
32
+ - Macro Precision: 0.461
33
+ - Micro Precision: 0.537
34
+ - Weighted Precision: 0.524
35
+ - Macro Recall: 0.492
36
+ - Micro Recall: 0.537
37
+ - Weighted Recall: 0.537
config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 18,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 128,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 1024,
19
+ "id2label": {
20
+ "0": "Burls \u7bc0\u7624",
21
+ "1": "Canker \u6f70\u760d",
22
+ "10": "Fungal fruiting bodies \u771f\u83cc\u5b50\u5be6\u9ad4",
23
+ "11": "Galls \u816b\u7624 ",
24
+ "12": "Girdling root \u7e8f\u7e5e\u6839 ",
25
+ "13": "Heavy lateral limb \u91cd\u5074\u679d",
26
+ "14": "Included bark \u5167\u593e\u6a39\u76ae",
27
+ "15": "Parasitic or epiphytic plants \u5bc4\u751f\u6216\u9644\u751f\u690d\u7269",
28
+ "16": "Pest and disease \u75c5\u87f2\u5bb3",
29
+ "17": "Poor taper \u4e0d\u826f\u6f38\u5c16\u751f\u9577",
30
+ "18": "Root-plate movement \u6839\u57fa\u79fb\u4f4d ",
31
+ "19": "Sap flow \u6ef2\u6db2",
32
+ "2": "Co-dominant branches \u7b49\u52e2\u679d",
33
+ "20": "Trunk girdling \u7e8f\u7e5e\u6a39\u5e79 ",
34
+ "21": "Wounds or mechanical injury \u50b7\u75d5\u6216\u6a5f\u68b0\u7834\u640d",
35
+ "3": "Co-dominant stems \u7b49\u52e2\u5e79",
36
+ "4": "Cracks or splits \u88c2\u7e2b\u6216\u88c2\u958b",
37
+ "5": "Crooks or abrupt bends \u4e0d\u5e38\u898f\u5f4e\u66f2",
38
+ "6": "Cross branches \u758a\u679d",
39
+ "7": "Dead surface roots \u8868\u6839\u67af\u840e ",
40
+ "8": "Deadwood \u67af\u6728",
41
+ "9": "Decay or cavity \u8150\u721b\u6216\u6a39\u6d1e"
42
+ },
43
+ "image_size": 224,
44
+ "initializer_range": 0.02,
45
+ "label2id": {
46
+ "Burls \u7bc0\u7624": "0",
47
+ "Canker \u6f70\u760d": "1",
48
+ "Co-dominant branches \u7b49\u52e2\u679d": "2",
49
+ "Co-dominant stems \u7b49\u52e2\u5e79": "3",
50
+ "Cracks or splits \u88c2\u7e2b\u6216\u88c2\u958b": "4",
51
+ "Crooks or abrupt bends \u4e0d\u5e38\u898f\u5f4e\u66f2": "5",
52
+ "Cross branches \u758a\u679d": "6",
53
+ "Dead surface roots \u8868\u6839\u67af\u840e ": "7",
54
+ "Deadwood \u67af\u6728": "8",
55
+ "Decay or cavity \u8150\u721b\u6216\u6a39\u6d1e": "9",
56
+ "Fungal fruiting bodies \u771f\u83cc\u5b50\u5be6\u9ad4": "10",
57
+ "Galls \u816b\u7624 ": "11",
58
+ "Girdling root \u7e8f\u7e5e\u6839 ": "12",
59
+ "Heavy lateral limb \u91cd\u5074\u679d": "13",
60
+ "Included bark \u5167\u593e\u6a39\u76ae": "14",
61
+ "Parasitic or epiphytic plants \u5bc4\u751f\u6216\u9644\u751f\u690d\u7269": "15",
62
+ "Pest and disease \u75c5\u87f2\u5bb3": "16",
63
+ "Poor taper \u4e0d\u826f\u6f38\u5c16\u751f\u9577": "17",
64
+ "Root-plate movement \u6839\u57fa\u79fb\u4f4d ": "18",
65
+ "Sap flow \u6ef2\u6db2": "19",
66
+ "Trunk girdling \u7e8f\u7e5e\u6a39\u5e79 ": "20",
67
+ "Wounds or mechanical injury \u50b7\u75d5\u6216\u6a5f\u68b0\u7834\u640d": "21"
68
+ },
69
+ "layer_norm_eps": 1e-05,
70
+ "max_length": 128,
71
+ "mlp_ratio": 4.0,
72
+ "model_type": "swin",
73
+ "num_channels": 3,
74
+ "num_heads": [
75
+ 4,
76
+ 8,
77
+ 16,
78
+ 32
79
+ ],
80
+ "num_layers": 4,
81
+ "padding": "max_length",
82
+ "patch_size": 4,
83
+ "path_norm": true,
84
+ "problem_type": "single_label_classification",
85
+ "qkv_bias": true,
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.25.1",
88
+ "use_absolute_embeddings": false,
89
+ "window_size": 7
90
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "feature_extractor_type": "ViTFeatureExtractor",
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70c53668fec11d7a8321ec3542e0268809dca54a12ca7f904af5dc00ac69c268
3
+ size 347681745