jasasuster
commited on
Commit
•
2c36499
1
Parent(s):
a76f3b9
commit files to HF hub
Browse files- .gitattributes +18 -0
- README.md +104 -0
- config.json +64 -0
- images/Corals.jpg +3 -0
- images/Crabs.jpg +3 -0
- images/Eel.jpg +3 -0
- images/Jelly_Fish.jpg +3 -0
- images/Lobster.jpg +3 -0
- images/Nudibranchs.jpg +3 -0
- images/Octopus.jpg +3 -0
- images/Penguin.jpg +3 -0
- images/Puffers.jpg +3 -0
- images/Sea_Rays.jpg +3 -0
- images/Sea_Urchins.jpg +3 -0
- images/Seahorse.jpg +3 -0
- images/Seal.jpg +3 -0
- images/Sharks.jpg +3 -0
- images/Squid.jpg +3 -0
- images/Starfish.jpg +3 -0
- images/Turtle_Tortoise.jpg +3 -0
- images/Whale.jpg +3 -0
- model.safetensors +3 -0
- preprocessor_config.json +36 -0
- runs/events.out.tfevents.1717491581.a38b51dbe7a9.772.0 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,21 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
images/Corals.jpg filter=lfs diff=lfs merge=lfs -text
|
37 |
+
images/Crabs.jpg filter=lfs diff=lfs merge=lfs -text
|
38 |
+
images/Eel.jpg filter=lfs diff=lfs merge=lfs -text
|
39 |
+
images/Jelly_Fish.jpg filter=lfs diff=lfs merge=lfs -text
|
40 |
+
images/Lobster.jpg filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/Nudibranchs.jpg filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/Octopus.jpg filter=lfs diff=lfs merge=lfs -text
|
43 |
+
images/Penguin.jpg filter=lfs diff=lfs merge=lfs -text
|
44 |
+
images/Puffers.jpg filter=lfs diff=lfs merge=lfs -text
|
45 |
+
images/Sea_Rays.jpg filter=lfs diff=lfs merge=lfs -text
|
46 |
+
images/Sea_Urchins.jpg filter=lfs diff=lfs merge=lfs -text
|
47 |
+
images/Seahorse.jpg filter=lfs diff=lfs merge=lfs -text
|
48 |
+
images/Seal.jpg filter=lfs diff=lfs merge=lfs -text
|
49 |
+
images/Sharks.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
images/Squid.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
images/Starfish.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
images/Turtle_Tortoise.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
images/Whale.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-classification
|
4 |
+
- pytorch
|
5 |
+
- huggingpics
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
|
9 |
+
model-index:
|
10 |
+
- name: sea-animals
|
11 |
+
results:
|
12 |
+
- task:
|
13 |
+
name: Image Classification
|
14 |
+
type: image-classification
|
15 |
+
metrics:
|
16 |
+
- name: Accuracy
|
17 |
+
type: accuracy
|
18 |
+
value: 0.7677053809165955
|
19 |
+
---
|
20 |
+
|
21 |
+
# sea-animals
|
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 |
+
#### Corals
|
35 |
+
|
36 |
+
![Corals](images/Corals.jpg)
|
37 |
+
|
38 |
+
#### Crabs
|
39 |
+
|
40 |
+
![Crabs](images/Crabs.jpg)
|
41 |
+
|
42 |
+
#### Eel
|
43 |
+
|
44 |
+
![Eel](images/Eel.jpg)
|
45 |
+
|
46 |
+
#### Jelly Fish
|
47 |
+
|
48 |
+
![Jelly Fish](images/Jelly_Fish.jpg)
|
49 |
+
|
50 |
+
#### Lobster
|
51 |
+
|
52 |
+
![Lobster](images/Lobster.jpg)
|
53 |
+
|
54 |
+
#### Nudibranchs
|
55 |
+
|
56 |
+
![Nudibranchs](images/Nudibranchs.jpg)
|
57 |
+
|
58 |
+
#### Octopus
|
59 |
+
|
60 |
+
![Octopus](images/Octopus.jpg)
|
61 |
+
|
62 |
+
#### Penguin
|
63 |
+
|
64 |
+
![Penguin](images/Penguin.jpg)
|
65 |
+
|
66 |
+
#### Puffers
|
67 |
+
|
68 |
+
![Puffers](images/Puffers.jpg)
|
69 |
+
|
70 |
+
#### Sea Rays
|
71 |
+
|
72 |
+
![Sea Rays](images/Sea_Rays.jpg)
|
73 |
+
|
74 |
+
#### Sea Urchins
|
75 |
+
|
76 |
+
![Sea Urchins](images/Sea_Urchins.jpg)
|
77 |
+
|
78 |
+
#### Seahorse
|
79 |
+
|
80 |
+
![Seahorse](images/Seahorse.jpg)
|
81 |
+
|
82 |
+
#### Seal
|
83 |
+
|
84 |
+
![Seal](images/Seal.jpg)
|
85 |
+
|
86 |
+
#### Sharks
|
87 |
+
|
88 |
+
![Sharks](images/Sharks.jpg)
|
89 |
+
|
90 |
+
#### Squid
|
91 |
+
|
92 |
+
![Squid](images/Squid.jpg)
|
93 |
+
|
94 |
+
#### Starfish
|
95 |
+
|
96 |
+
![Starfish](images/Starfish.jpg)
|
97 |
+
|
98 |
+
#### Turtle_Tortoise
|
99 |
+
|
100 |
+
![Turtle_Tortoise](images/Turtle_Tortoise.jpg)
|
101 |
+
|
102 |
+
#### Whale
|
103 |
+
|
104 |
+
![Whale](images/Whale.jpg)
|
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Corals",
|
13 |
+
"1": "Crabs",
|
14 |
+
"10": "Sea Urchins",
|
15 |
+
"11": "Seahorse",
|
16 |
+
"12": "Seal",
|
17 |
+
"13": "Sharks",
|
18 |
+
"14": "Squid",
|
19 |
+
"15": "Starfish",
|
20 |
+
"16": "Turtle_Tortoise",
|
21 |
+
"17": "Whale",
|
22 |
+
"2": "Eel",
|
23 |
+
"3": "Jelly Fish",
|
24 |
+
"4": "Lobster",
|
25 |
+
"5": "Nudibranchs",
|
26 |
+
"6": "Octopus",
|
27 |
+
"7": "Penguin",
|
28 |
+
"8": "Puffers",
|
29 |
+
"9": "Sea Rays"
|
30 |
+
},
|
31 |
+
"image_size": 224,
|
32 |
+
"initializer_range": 0.02,
|
33 |
+
"intermediate_size": 3072,
|
34 |
+
"label2id": {
|
35 |
+
"Corals": "0",
|
36 |
+
"Crabs": "1",
|
37 |
+
"Eel": "2",
|
38 |
+
"Jelly Fish": "3",
|
39 |
+
"Lobster": "4",
|
40 |
+
"Nudibranchs": "5",
|
41 |
+
"Octopus": "6",
|
42 |
+
"Penguin": "7",
|
43 |
+
"Puffers": "8",
|
44 |
+
"Sea Rays": "9",
|
45 |
+
"Sea Urchins": "10",
|
46 |
+
"Seahorse": "11",
|
47 |
+
"Seal": "12",
|
48 |
+
"Sharks": "13",
|
49 |
+
"Squid": "14",
|
50 |
+
"Starfish": "15",
|
51 |
+
"Turtle_Tortoise": "16",
|
52 |
+
"Whale": "17"
|
53 |
+
},
|
54 |
+
"layer_norm_eps": 1e-12,
|
55 |
+
"model_type": "vit",
|
56 |
+
"num_attention_heads": 12,
|
57 |
+
"num_channels": 3,
|
58 |
+
"num_hidden_layers": 12,
|
59 |
+
"patch_size": 16,
|
60 |
+
"problem_type": "single_label_classification",
|
61 |
+
"qkv_bias": true,
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.41.1"
|
64 |
+
}
|
images/Corals.jpg
ADDED
Git LFS Details
|
images/Crabs.jpg
ADDED
Git LFS Details
|
images/Eel.jpg
ADDED
Git LFS Details
|
images/Jelly_Fish.jpg
ADDED
Git LFS Details
|
images/Lobster.jpg
ADDED
Git LFS Details
|
images/Nudibranchs.jpg
ADDED
Git LFS Details
|
images/Octopus.jpg
ADDED
Git LFS Details
|
images/Penguin.jpg
ADDED
Git LFS Details
|
images/Puffers.jpg
ADDED
Git LFS Details
|
images/Sea_Rays.jpg
ADDED
Git LFS Details
|
images/Sea_Urchins.jpg
ADDED
Git LFS Details
|
images/Seahorse.jpg
ADDED
Git LFS Details
|
images/Seal.jpg
ADDED
Git LFS Details
|
images/Sharks.jpg
ADDED
Git LFS Details
|
images/Squid.jpg
ADDED
Git LFS Details
|
images/Starfish.jpg
ADDED
Git LFS Details
|
images/Turtle_Tortoise.jpg
ADDED
Git LFS Details
|
images/Whale.jpg
ADDED
Git LFS Details
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4fc59a9a777508cf3182aa557b34493adf75f72e5626d08ecd22c8846de48185
|
3 |
+
size 343273192
|
preprocessor_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_valid_processor_keys": [
|
3 |
+
"images",
|
4 |
+
"do_resize",
|
5 |
+
"size",
|
6 |
+
"resample",
|
7 |
+
"do_rescale",
|
8 |
+
"rescale_factor",
|
9 |
+
"do_normalize",
|
10 |
+
"image_mean",
|
11 |
+
"image_std",
|
12 |
+
"return_tensors",
|
13 |
+
"data_format",
|
14 |
+
"input_data_format"
|
15 |
+
],
|
16 |
+
"do_normalize": true,
|
17 |
+
"do_rescale": true,
|
18 |
+
"do_resize": true,
|
19 |
+
"image_mean": [
|
20 |
+
0.5,
|
21 |
+
0.5,
|
22 |
+
0.5
|
23 |
+
],
|
24 |
+
"image_processor_type": "ViTFeatureExtractor",
|
25 |
+
"image_std": [
|
26 |
+
0.5,
|
27 |
+
0.5,
|
28 |
+
0.5
|
29 |
+
],
|
30 |
+
"resample": 2,
|
31 |
+
"rescale_factor": 0.00392156862745098,
|
32 |
+
"size": {
|
33 |
+
"height": 224,
|
34 |
+
"width": 224
|
35 |
+
}
|
36 |
+
}
|
runs/events.out.tfevents.1717491581.a38b51dbe7a9.772.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4501dc75038a2de16a10482c4bcee4e1b40f8c5a0cb13c900771a949dc945209
|
3 |
+
size 2797
|