Upload 15 files
Browse files- README.md +72 -0
- config.json +48 -0
- images/Black_footed_Albatross.jpg +0 -0
- images/Brewer_Blackbird.jpg +0 -0
- images/Crested_Auklet.jpg +0 -0
- images/Groove_billed_Ani.jpg +0 -0
- images/Laysan_Albatross.jpg +0 -0
- images/Least_Auklet.jpg +0 -0
- images/Parakeet_Auklet.jpg +0 -0
- images/Red_winged_Blackbird.jpg +0 -0
- images/Rhinoceros_Auklet.jpg +0 -0
- images/Sooty_Albatross.jpg +0 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- runs/events.out.tfevents.1693882408.gpu1.5215.0 +3 -0
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- image-classification
|
| 4 |
+
- pytorch
|
| 5 |
+
- huggingpics
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
|
| 9 |
+
model-index:
|
| 10 |
+
- name: cv_bird_classification
|
| 11 |
+
results:
|
| 12 |
+
- task:
|
| 13 |
+
name: Image Classification
|
| 14 |
+
type: image-classification
|
| 15 |
+
metrics:
|
| 16 |
+
- name: Accuracy
|
| 17 |
+
type: accuracy
|
| 18 |
+
value: 0.8765432238578796
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# cv_bird_classification
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
Autogenerated by HuggingPics🤗🖼️
|
| 25 |
+
|
| 26 |
+
Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb).
|
| 27 |
+
|
| 28 |
+
Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics).
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
## Example Images
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
#### Black footed Albatross
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+
#### Brewer Blackbird
|
| 39 |
+
|
| 40 |
+

|
| 41 |
+
|
| 42 |
+
#### Crested Auklet
|
| 43 |
+
|
| 44 |
+

|
| 45 |
+
|
| 46 |
+
#### Groove billed Ani
|
| 47 |
+
|
| 48 |
+

|
| 49 |
+
|
| 50 |
+
#### Laysan Albatross
|
| 51 |
+
|
| 52 |
+

|
| 53 |
+
|
| 54 |
+
#### Least Auklet
|
| 55 |
+
|
| 56 |
+

|
| 57 |
+
|
| 58 |
+
#### Parakeet Auklet
|
| 59 |
+
|
| 60 |
+

|
| 61 |
+
|
| 62 |
+
#### Red winged Blackbird
|
| 63 |
+
|
| 64 |
+

|
| 65 |
+
|
| 66 |
+
#### Rhinoceros Auklet
|
| 67 |
+
|
| 68 |
+

|
| 69 |
+
|
| 70 |
+
#### Sooty Albatross
|
| 71 |
+
|
| 72 |
+

|
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "Black footed Albatross",
|
| 13 |
+
"1": "Brewer Blackbird",
|
| 14 |
+
"2": "Crested Auklet",
|
| 15 |
+
"3": "Groove billed Ani",
|
| 16 |
+
"4": "Laysan Albatross",
|
| 17 |
+
"5": "Least Auklet",
|
| 18 |
+
"6": "Parakeet Auklet",
|
| 19 |
+
"7": "Red winged Blackbird",
|
| 20 |
+
"8": "Rhinoceros Auklet",
|
| 21 |
+
"9": "Sooty Albatross"
|
| 22 |
+
},
|
| 23 |
+
"image_size": 224,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 3072,
|
| 26 |
+
"label2id": {
|
| 27 |
+
"Black footed Albatross": "0",
|
| 28 |
+
"Brewer Blackbird": "1",
|
| 29 |
+
"Crested Auklet": "2",
|
| 30 |
+
"Groove billed Ani": "3",
|
| 31 |
+
"Laysan Albatross": "4",
|
| 32 |
+
"Least Auklet": "5",
|
| 33 |
+
"Parakeet Auklet": "6",
|
| 34 |
+
"Red winged Blackbird": "7",
|
| 35 |
+
"Rhinoceros Auklet": "8",
|
| 36 |
+
"Sooty Albatross": "9"
|
| 37 |
+
},
|
| 38 |
+
"layer_norm_eps": 1e-12,
|
| 39 |
+
"model_type": "vit",
|
| 40 |
+
"num_attention_heads": 12,
|
| 41 |
+
"num_channels": 3,
|
| 42 |
+
"num_hidden_layers": 12,
|
| 43 |
+
"patch_size": 16,
|
| 44 |
+
"problem_type": "single_label_classification",
|
| 45 |
+
"qkv_bias": true,
|
| 46 |
+
"torch_dtype": "float32",
|
| 47 |
+
"transformers_version": "4.32.0"
|
| 48 |
+
}
|
images/Black_footed_Albatross.jpg
ADDED
|
images/Brewer_Blackbird.jpg
ADDED
|
images/Crested_Auklet.jpg
ADDED
|
images/Groove_billed_Ani.jpg
ADDED
|
images/Laysan_Albatross.jpg
ADDED
|
images/Least_Auklet.jpg
ADDED
|
images/Parakeet_Auklet.jpg
ADDED
|
images/Red_winged_Blackbird.jpg
ADDED
|
images/Rhinoceros_Auklet.jpg
ADDED
|
images/Sooty_Albatross.jpg
ADDED
|
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": "ViTFeatureExtractor",
|
| 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 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0873f7b3fd2d67372d65b8d9f0c29ece3f6649a9f03ad59e04bf11060ec93084
|
| 3 |
+
size 343290541
|
runs/events.out.tfevents.1693882408.gpu1.5215.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1564e70ea797245a0b017f63c5d8c911c7f2756017f5bd9e3622abcfc8882df4
|
| 3 |
+
size 12627
|