Model save
Browse files- README.md +54 -0
- config.json +206 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Nov18_12-27-09_e028cef4f67f/events.out.tfevents.1700310542.e028cef4f67f.34901.0 +3 -0
- runs/Nov18_12-51-40_e028cef4f67f/events.out.tfevents.1700311907.e028cef4f67f.34901.1 +3 -0
- runs/Nov18_12-55-50_e028cef4f67f/events.out.tfevents.1700312157.e028cef4f67f.34901.2 +3 -0
- runs/Nov18_12-57-03_e028cef4f67f/events.out.tfevents.1700312233.e028cef4f67f.34901.3 +3 -0
- runs/Nov18_12-59-51_e028cef4f67f/events.out.tfevents.1700312397.e028cef4f67f.34901.4 +3 -0
- runs/Nov18_13-09-01_e028cef4f67f/events.out.tfevents.1700312947.e028cef4f67f.34901.5 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- imagefolder
|
8 |
+
model-index:
|
9 |
+
- name: vit-base-plankton
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# vit-base-plankton
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0002
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 2
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.35.2
|
52 |
+
- Pytorch 2.1.0+cu118
|
53 |
+
- Datasets 2.15.0
|
54 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Acantharia",
|
13 |
+
"1": "Amphisolenia",
|
14 |
+
"10": "Climacocylis_scalaria",
|
15 |
+
"11": "Codonellidae",
|
16 |
+
"12": "Copepoda_Maxillopoda",
|
17 |
+
"13": "Corycaeidae",
|
18 |
+
"14": "Coscinodiscophycidae",
|
19 |
+
"15": "Coscinodiscus",
|
20 |
+
"16": "Cyanobacteria_Proteobacteria",
|
21 |
+
"17": "Cystidium",
|
22 |
+
"18": "Diatoma",
|
23 |
+
"19": "Dinoflagellates",
|
24 |
+
"2": "Appendicularia",
|
25 |
+
"20": "Dinophyceae",
|
26 |
+
"21": "Eutintinnus",
|
27 |
+
"22": "Foraminifera",
|
28 |
+
"23": "Fritillariidae",
|
29 |
+
"24": "Guinardia",
|
30 |
+
"25": "Harpacticidae",
|
31 |
+
"26": "Limacina",
|
32 |
+
"27": "Nassellaria_Polycystinea",
|
33 |
+
"28": "Navicula",
|
34 |
+
"29": "Neoceratium",
|
35 |
+
"3": "Asterionella",
|
36 |
+
"30": "Neoceratium_fusus_Neoceratium",
|
37 |
+
"31": "Neoceratium_pentagonum",
|
38 |
+
"32": "Nitzschia",
|
39 |
+
"33": "Oikopleura",
|
40 |
+
"34": "Oithonidae",
|
41 |
+
"35": "Ornithocercus",
|
42 |
+
"36": "Ostracoda",
|
43 |
+
"37": "Planktoniella_sol",
|
44 |
+
"38": "Pleurosigma",
|
45 |
+
"39": "Polychaeta_larva",
|
46 |
+
"4": "Asterolamprales",
|
47 |
+
"40": "Pseudo-nitzschia",
|
48 |
+
"41": "Pyrocystaceae",
|
49 |
+
"42": "Pyrocystis_noctiluca",
|
50 |
+
"43": "Pyrophacus",
|
51 |
+
"44": "Rhizaria",
|
52 |
+
"45": "Rhizosolenia",
|
53 |
+
"46": "Striatella",
|
54 |
+
"47": "Thalassionema",
|
55 |
+
"48": "Thalassiosira",
|
56 |
+
"49": "Tintinnida",
|
57 |
+
"5": "Calanoida",
|
58 |
+
"50": "Xystonellopsis",
|
59 |
+
"51": "aggregates",
|
60 |
+
"52": "artefact",
|
61 |
+
"53": "badfocus-aggregate",
|
62 |
+
"54": "badfocus_Copepoda",
|
63 |
+
"55": "badfocus_other",
|
64 |
+
"56": "bubble",
|
65 |
+
"57": "clumps",
|
66 |
+
"58": "copepoda-cut",
|
67 |
+
"59": "crumple_sphere",
|
68 |
+
"6": "Chaetoceros_Chaetocerotales",
|
69 |
+
"60": "detritus",
|
70 |
+
"61": "dinophysis_schuettii_Dinophysis",
|
71 |
+
"62": "dry",
|
72 |
+
"63": "egg_sac_egg",
|
73 |
+
"64": "fecal_pellets",
|
74 |
+
"65": "fiber_detritus",
|
75 |
+
"66": "fiber_plastic",
|
76 |
+
"67": "larvae_Gastropoda",
|
77 |
+
"68": "multiple_Acantharea",
|
78 |
+
"69": "multiple_Copepoda",
|
79 |
+
"7": "Chaetoceros_Mediophyceae",
|
80 |
+
"70": "multiple_Diatoma",
|
81 |
+
"71": "multiple_Rhizosolenia",
|
82 |
+
"72": "multiple_organisms",
|
83 |
+
"73": "multiple_other",
|
84 |
+
"74": "nauplii_Copepoda",
|
85 |
+
"75": "nauplii_Crustacea",
|
86 |
+
"76": "othertocheck",
|
87 |
+
"77": "part_Copepoda",
|
88 |
+
"78": "part_Crustacea",
|
89 |
+
"79": "part_Rhizaria",
|
90 |
+
"8": "Chaetoceros_protuberans",
|
91 |
+
"80": "part_diatom",
|
92 |
+
"81": "pennate_Bacillariophyta",
|
93 |
+
"82": "puff",
|
94 |
+
"83": "rods",
|
95 |
+
"84": "spines_Rhizaria",
|
96 |
+
"85": "t001",
|
97 |
+
"86": "t002",
|
98 |
+
"87": "t003",
|
99 |
+
"88": "transparent",
|
100 |
+
"9": "Ciliophora"
|
101 |
+
},
|
102 |
+
"image_size": 224,
|
103 |
+
"initializer_range": 0.02,
|
104 |
+
"intermediate_size": 3072,
|
105 |
+
"label2id": {
|
106 |
+
"Acantharia": "0",
|
107 |
+
"Amphisolenia": "1",
|
108 |
+
"Appendicularia": "2",
|
109 |
+
"Asterionella": "3",
|
110 |
+
"Asterolamprales": "4",
|
111 |
+
"Calanoida": "5",
|
112 |
+
"Chaetoceros_Chaetocerotales": "6",
|
113 |
+
"Chaetoceros_Mediophyceae": "7",
|
114 |
+
"Chaetoceros_protuberans": "8",
|
115 |
+
"Ciliophora": "9",
|
116 |
+
"Climacocylis_scalaria": "10",
|
117 |
+
"Codonellidae": "11",
|
118 |
+
"Copepoda_Maxillopoda": "12",
|
119 |
+
"Corycaeidae": "13",
|
120 |
+
"Coscinodiscophycidae": "14",
|
121 |
+
"Coscinodiscus": "15",
|
122 |
+
"Cyanobacteria_Proteobacteria": "16",
|
123 |
+
"Cystidium": "17",
|
124 |
+
"Diatoma": "18",
|
125 |
+
"Dinoflagellates": "19",
|
126 |
+
"Dinophyceae": "20",
|
127 |
+
"Eutintinnus": "21",
|
128 |
+
"Foraminifera": "22",
|
129 |
+
"Fritillariidae": "23",
|
130 |
+
"Guinardia": "24",
|
131 |
+
"Harpacticidae": "25",
|
132 |
+
"Limacina": "26",
|
133 |
+
"Nassellaria_Polycystinea": "27",
|
134 |
+
"Navicula": "28",
|
135 |
+
"Neoceratium": "29",
|
136 |
+
"Neoceratium_fusus_Neoceratium": "30",
|
137 |
+
"Neoceratium_pentagonum": "31",
|
138 |
+
"Nitzschia": "32",
|
139 |
+
"Oikopleura": "33",
|
140 |
+
"Oithonidae": "34",
|
141 |
+
"Ornithocercus": "35",
|
142 |
+
"Ostracoda": "36",
|
143 |
+
"Planktoniella_sol": "37",
|
144 |
+
"Pleurosigma": "38",
|
145 |
+
"Polychaeta_larva": "39",
|
146 |
+
"Pseudo-nitzschia": "40",
|
147 |
+
"Pyrocystaceae": "41",
|
148 |
+
"Pyrocystis_noctiluca": "42",
|
149 |
+
"Pyrophacus": "43",
|
150 |
+
"Rhizaria": "44",
|
151 |
+
"Rhizosolenia": "45",
|
152 |
+
"Striatella": "46",
|
153 |
+
"Thalassionema": "47",
|
154 |
+
"Thalassiosira": "48",
|
155 |
+
"Tintinnida": "49",
|
156 |
+
"Xystonellopsis": "50",
|
157 |
+
"aggregates": "51",
|
158 |
+
"artefact": "52",
|
159 |
+
"badfocus-aggregate": "53",
|
160 |
+
"badfocus_Copepoda": "54",
|
161 |
+
"badfocus_other": "55",
|
162 |
+
"bubble": "56",
|
163 |
+
"clumps": "57",
|
164 |
+
"copepoda-cut": "58",
|
165 |
+
"crumple_sphere": "59",
|
166 |
+
"detritus": "60",
|
167 |
+
"dinophysis_schuettii_Dinophysis": "61",
|
168 |
+
"dry": "62",
|
169 |
+
"egg_sac_egg": "63",
|
170 |
+
"fecal_pellets": "64",
|
171 |
+
"fiber_detritus": "65",
|
172 |
+
"fiber_plastic": "66",
|
173 |
+
"larvae_Gastropoda": "67",
|
174 |
+
"multiple_Acantharea": "68",
|
175 |
+
"multiple_Copepoda": "69",
|
176 |
+
"multiple_Diatoma": "70",
|
177 |
+
"multiple_Rhizosolenia": "71",
|
178 |
+
"multiple_organisms": "72",
|
179 |
+
"multiple_other": "73",
|
180 |
+
"nauplii_Copepoda": "74",
|
181 |
+
"nauplii_Crustacea": "75",
|
182 |
+
"othertocheck": "76",
|
183 |
+
"part_Copepoda": "77",
|
184 |
+
"part_Crustacea": "78",
|
185 |
+
"part_Rhizaria": "79",
|
186 |
+
"part_diatom": "80",
|
187 |
+
"pennate_Bacillariophyta": "81",
|
188 |
+
"puff": "82",
|
189 |
+
"rods": "83",
|
190 |
+
"spines_Rhizaria": "84",
|
191 |
+
"t001": "85",
|
192 |
+
"t002": "86",
|
193 |
+
"t003": "87",
|
194 |
+
"transparent": "88"
|
195 |
+
},
|
196 |
+
"layer_norm_eps": 1e-12,
|
197 |
+
"model_type": "vit",
|
198 |
+
"num_attention_heads": 12,
|
199 |
+
"num_channels": 3,
|
200 |
+
"num_hidden_layers": 12,
|
201 |
+
"patch_size": 16,
|
202 |
+
"problem_type": "single_label_classification",
|
203 |
+
"qkv_bias": true,
|
204 |
+
"torch_dtype": "float32",
|
205 |
+
"transformers_version": "4.35.2"
|
206 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cffbfa56ebca2802398f6812869aa43fdae597043eae1cce32ed49e79aa53f84
|
3 |
+
size 343491596
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Nov18_12-27-09_e028cef4f67f/events.out.tfevents.1700310542.e028cef4f67f.34901.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:389508f1357bc7c0e8b16c5dc3dd54f43d303eb502963c79b8ed1842c97f1ade
|
3 |
+
size 9013
|
runs/Nov18_12-51-40_e028cef4f67f/events.out.tfevents.1700311907.e028cef4f67f.34901.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0da954219bbde9e1d395a4e60a98ec81b51b3f308297a205c55c66617301544
|
3 |
+
size 44713
|
runs/Nov18_12-55-50_e028cef4f67f/events.out.tfevents.1700312157.e028cef4f67f.34901.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b1e98b019b5e75b3a03344be90e46512571e77a4f98882e0d6042c8b679bf58d
|
3 |
+
size 9013
|
runs/Nov18_12-57-03_e028cef4f67f/events.out.tfevents.1700312233.e028cef4f67f.34901.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84e935b5525e0a1e8c43709d0da6272e6ebb5e4c61a754739bdd40cb83a65d34
|
3 |
+
size 9013
|
runs/Nov18_12-59-51_e028cef4f67f/events.out.tfevents.1700312397.e028cef4f67f.34901.4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e7e978dd52bc6e8fd96198b7bc0373a0db1f4f43452de1b7315a9cd5b6572239
|
3 |
+
size 9013
|
runs/Nov18_13-09-01_e028cef4f67f/events.out.tfevents.1700312947.e028cef4f67f.34901.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6cd4a8430b8d4b893de741d8cdf5ee4060fb093f2670c20a2e8cff7a99f358c
|
3 |
+
size 10179
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f78e293e3bfc1c9c5ba8c1a19d3fc56c07d1f92d2ddc83040c86cc01962b16f
|
3 |
+
size 4536
|