beercan commited on
Commit
0da30d5
·
1 Parent(s): ee88fc6

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,26 @@ 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/arctic_char.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/asp_fish.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/atlantic_cod.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/atlantic_halibyt.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/atlantic_herring.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/atlantic_mackerel.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/atlantic_salmon.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/common_bleak_fish.jpg filter=lfs diff=lfs merge=lfs -text
44
+ images/common_bream.jpg filter=lfs diff=lfs merge=lfs -text
45
+ images/crucian_carp.jpg filter=lfs diff=lfs merge=lfs -text
46
+ images/cuckoo_wrasse_fish.jpg filter=lfs diff=lfs merge=lfs -text
47
+ images/european_plaice.jpg filter=lfs diff=lfs merge=lfs -text
48
+ images/grayling_fish.jpg filter=lfs diff=lfs merge=lfs -text
49
+ images/haddock_fish.jpg filter=lfs diff=lfs merge=lfs -text
50
+ images/perch.jpg filter=lfs diff=lfs merge=lfs -text
51
+ images/pike.jpg filter=lfs diff=lfs merge=lfs -text
52
+ images/pollock_fish.jpg filter=lfs diff=lfs merge=lfs -text
53
+ images/rainbow_trout.jpg filter=lfs diff=lfs merge=lfs -text
54
+ images/roach_fish.jpg filter=lfs diff=lfs merge=lfs -text
55
+ images/tench_fish.jpg filter=lfs diff=lfs merge=lfs -text
56
+ images/trout.jpg filter=lfs diff=lfs merge=lfs -text
57
+ images/white_bream.jpg filter=lfs diff=lfs merge=lfs -text
58
+ images/zander_fish.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: fish-classification
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.2810077667236328
19
+ ---
20
+
21
+ # fish-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
+ #### arctic char
35
+
36
+ ![arctic char](images/arctic_char.jpg)
37
+
38
+ #### asp fish
39
+
40
+ ![asp fish](images/asp_fish.jpg)
41
+
42
+ #### atlantic cod
43
+
44
+ ![atlantic cod](images/atlantic_cod.jpg)
45
+
46
+ #### atlantic halibyt
47
+
48
+ ![atlantic halibyt](images/atlantic_halibyt.jpg)
49
+
50
+ #### atlantic herring
51
+
52
+ ![atlantic herring](images/atlantic_herring.jpg)
53
+
54
+ #### atlantic mackerel
55
+
56
+ ![atlantic mackerel](images/atlantic_mackerel.jpg)
57
+
58
+ #### atlantic salmon
59
+
60
+ ![atlantic salmon](images/atlantic_salmon.jpg)
61
+
62
+ #### common bleak fish
63
+
64
+ ![common bleak fish](images/common_bleak_fish.jpg)
65
+
66
+ #### common bream
67
+
68
+ ![common bream](images/common_bream.jpg)
69
+
70
+ #### crucian carp
71
+
72
+ ![crucian carp](images/crucian_carp.jpg)
73
+
74
+ #### cuckoo wrasse fish
75
+
76
+ ![cuckoo wrasse fish](images/cuckoo_wrasse_fish.jpg)
77
+
78
+ #### european plaice
79
+
80
+ ![european plaice](images/european_plaice.jpg)
81
+
82
+ #### grayling fish
83
+
84
+ ![grayling fish](images/grayling_fish.jpg)
85
+
86
+ #### haddock fish
87
+
88
+ ![haddock fish](images/haddock_fish.jpg)
89
+
90
+ #### perch
91
+
92
+ ![perch](images/perch.jpg)
93
+
94
+ #### pike
95
+
96
+ ![pike](images/pike.jpg)
97
+
98
+ #### pollock fish
99
+
100
+ ![pollock fish](images/pollock_fish.jpg)
101
+
102
+ #### rainbow trout
103
+
104
+ ![rainbow trout](images/rainbow_trout.jpg)
105
+
106
+ #### roach fish
107
+
108
+ ![roach fish](images/roach_fish.jpg)
109
+
110
+ #### tench fish
111
+
112
+ ![tench fish](images/tench_fish.jpg)
113
+
114
+ #### trout
115
+
116
+ ![trout](images/trout.jpg)
117
+
118
+ #### white bream
119
+
120
+ ![white bream](images/white_bream.jpg)
121
+
122
+ #### zander fish
123
+
124
+ ![zander fish](images/zander_fish.jpg)
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "arctic char",
13
+ "1": "asp fish",
14
+ "10": "cuckoo wrasse fish",
15
+ "11": "european plaice",
16
+ "12": "grayling fish",
17
+ "13": "haddock fish",
18
+ "14": "perch",
19
+ "15": "pike",
20
+ "16": "pollock fish",
21
+ "17": "rainbow trout",
22
+ "18": "roach fish",
23
+ "19": "tench fish",
24
+ "2": "atlantic cod",
25
+ "20": "trout",
26
+ "21": "white bream",
27
+ "22": "zander fish",
28
+ "3": "atlantic halibyt",
29
+ "4": "atlantic herring",
30
+ "5": "atlantic mackerel",
31
+ "6": "atlantic salmon",
32
+ "7": "common bleak fish",
33
+ "8": "common bream",
34
+ "9": "crucian carp"
35
+ },
36
+ "image_size": 224,
37
+ "initializer_range": 0.02,
38
+ "intermediate_size": 3072,
39
+ "label2id": {
40
+ "arctic char": "0",
41
+ "asp fish": "1",
42
+ "atlantic cod": "2",
43
+ "atlantic halibyt": "3",
44
+ "atlantic herring": "4",
45
+ "atlantic mackerel": "5",
46
+ "atlantic salmon": "6",
47
+ "common bleak fish": "7",
48
+ "common bream": "8",
49
+ "crucian carp": "9",
50
+ "cuckoo wrasse fish": "10",
51
+ "european plaice": "11",
52
+ "grayling fish": "12",
53
+ "haddock fish": "13",
54
+ "perch": "14",
55
+ "pike": "15",
56
+ "pollock fish": "16",
57
+ "rainbow trout": "17",
58
+ "roach fish": "18",
59
+ "tench fish": "19",
60
+ "trout": "20",
61
+ "white bream": "21",
62
+ "zander fish": "22"
63
+ },
64
+ "layer_norm_eps": 1e-12,
65
+ "model_type": "vit",
66
+ "num_attention_heads": 12,
67
+ "num_channels": 3,
68
+ "num_hidden_layers": 12,
69
+ "patch_size": 16,
70
+ "problem_type": "single_label_classification",
71
+ "qkv_bias": true,
72
+ "torch_dtype": "float32",
73
+ "transformers_version": "4.47.1"
74
+ }
images/arctic_char.jpg ADDED

Git LFS Details

  • SHA256: 06061aef2769e38b85132c83a19d72328a9d0880810f6d7728b7d0ec6da3e2bd
  • Pointer size: 130 Bytes
  • Size of remote file: 43.7 kB
images/asp_fish.jpg ADDED

Git LFS Details

  • SHA256: 5ff80616f2ca94436b23b440a1b302c9938030550384008469d80da57452d207
  • Pointer size: 130 Bytes
  • Size of remote file: 12.7 kB
images/atlantic_cod.jpg ADDED

Git LFS Details

  • SHA256: fe81a672e6708e9d5d80ca88b46a33edc0a114236ce563cb57c2020c043af51c
  • Pointer size: 130 Bytes
  • Size of remote file: 29.8 kB
images/atlantic_halibyt.jpg ADDED

Git LFS Details

  • SHA256: f80ddec5c855c0b3911f54cfeab490e726db200f4421ea7ec8ab4737840de1de
  • Pointer size: 130 Bytes
  • Size of remote file: 13.2 kB
images/atlantic_herring.jpg ADDED

Git LFS Details

  • SHA256: cd07bc6fbb1fe85986b1d1502ad944fc6595897b41faff89ce0b97cf6ef1c172
  • Pointer size: 130 Bytes
  • Size of remote file: 24.6 kB
images/atlantic_mackerel.jpg ADDED

Git LFS Details

  • SHA256: e207228ff1f2beb9ab09e62d274dda66698e9797152a6f47656217f21ccf7e84
  • Pointer size: 130 Bytes
  • Size of remote file: 14.4 kB
images/atlantic_salmon.jpg ADDED

Git LFS Details

  • SHA256: 6f09c0c631f3d8fda4e2c03e62676a9f43315a5dd4d2e9b7d1fb8294199bd823
  • Pointer size: 130 Bytes
  • Size of remote file: 27.3 kB
images/common_bleak_fish.jpg ADDED

Git LFS Details

  • SHA256: ec7587a028acc0fc19f9ae4b6bc8f6ab06a130b849f99aced5315a4a5f281a03
  • Pointer size: 130 Bytes
  • Size of remote file: 39.7 kB
images/common_bream.jpg ADDED

Git LFS Details

  • SHA256: 279118187f4ce6219a313b3cbc742304b90acea5feb77a033febde0c4a23e83a
  • Pointer size: 130 Bytes
  • Size of remote file: 38.3 kB
images/crucian_carp.jpg ADDED

Git LFS Details

  • SHA256: e6a62052025dbf3ec35e5f04bfe85e144162eafac400e6703e43f40469d96e82
  • Pointer size: 130 Bytes
  • Size of remote file: 38 kB
images/cuckoo_wrasse_fish.jpg ADDED

Git LFS Details

  • SHA256: 683865bf5b78f84c474187023b4f1de063a91717ee90426027ba51591f4938e6
  • Pointer size: 130 Bytes
  • Size of remote file: 25.7 kB
images/european_plaice.jpg ADDED

Git LFS Details

  • SHA256: b992927e3e4d73ad529fa9148b08bcacddc2df0a98639d3d5257e66e1baa5232
  • Pointer size: 130 Bytes
  • Size of remote file: 53.8 kB
images/grayling_fish.jpg ADDED

Git LFS Details

  • SHA256: a0b48f3655e47efc10131c4d166383abbac6fe57a05cce74ffe97c4110b74d5a
  • Pointer size: 130 Bytes
  • Size of remote file: 32.5 kB
images/haddock_fish.jpg ADDED

Git LFS Details

  • SHA256: 0d28f12ca283ecd4e586a09400e36803744aaa7866c29a6d4e9f5c33f6bc794f
  • Pointer size: 130 Bytes
  • Size of remote file: 12.3 kB
images/perch.jpg ADDED

Git LFS Details

  • SHA256: 0757ebc6b394cb62b994127ba0551d5bbd7fdd104c9d59a7d37ee66e06db94f3
  • Pointer size: 130 Bytes
  • Size of remote file: 19.1 kB
images/pike.jpg ADDED

Git LFS Details

  • SHA256: f5640bb4e2814808fd25d3d077fa42eafad86c049e2e11327d0d968f07f9ce7e
  • Pointer size: 130 Bytes
  • Size of remote file: 46.3 kB
images/pollock_fish.jpg ADDED

Git LFS Details

  • SHA256: a57267ae05c6fc75aa5ae4b56d2082bd2a6a51c63ff2671c9b94e92554c8a3ad
  • Pointer size: 130 Bytes
  • Size of remote file: 15.9 kB
images/rainbow_trout.jpg ADDED

Git LFS Details

  • SHA256: 96e5d6e014234d8f1f3e21962f6ee71cf33b9bd284f430d155f46d769807719d
  • Pointer size: 130 Bytes
  • Size of remote file: 17.9 kB
images/roach_fish.jpg ADDED

Git LFS Details

  • SHA256: 2e8f6ec6f8fede9217fa691fae53b02e73f9f5274d49dd6a08ce6eda4313a912
  • Pointer size: 130 Bytes
  • Size of remote file: 14.7 kB
images/tench_fish.jpg ADDED

Git LFS Details

  • SHA256: 6e4df2c9349ce0c2a262c2be66ab91d85d2799241e8ae0a86bdcd50dd67ced6f
  • Pointer size: 130 Bytes
  • Size of remote file: 31.2 kB
images/trout.jpg ADDED

Git LFS Details

  • SHA256: 01a7ceec9216f2adf01993aa51c14b152da016a162387d5dfb2499e446e3898f
  • Pointer size: 130 Bytes
  • Size of remote file: 27.2 kB
images/white_bream.jpg ADDED

Git LFS Details

  • SHA256: c8fae5a1f173771276f8b26cb5c1dc18f5a43123dd84cc961be0bafb9d3d0135
  • Pointer size: 130 Bytes
  • Size of remote file: 16.2 kB
images/zander_fish.jpg ADDED

Git LFS Details

  • SHA256: f94fff96e8cf78f465de98a67d51f3e95ebd90d8ac7566120857bf2a6a7ca190
  • Pointer size: 130 Bytes
  • Size of remote file: 22.3 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5cca8e4f699f6e72e449bf10b71445a13e68142098471b74a59886d8b06cbf0
3
+ size 343288572
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
runs/events.out.tfevents.1738303929.f4515fdacbc9.1805.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a97e1d13b746947fd43fde81ebd2d7a9b584d62a6098d5672814e6f3c9ef9f56
3
+ size 3634