devMinty commited on
Commit
cbcbc08
·
1 Parent(s): 6576699

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,12 @@ 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
+ images/Cats.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/Dogs.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Koala_Bear.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Meerkat.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Monkey.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/Panda.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/Penguin.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/Rabbit.jpg filter=lfs diff=lfs merge=lfs -text
43
+ images/Tiger.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: zx99-animal-classifier
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.96517413854599
19
+ ---
20
+
21
+ # zx99-animal-classifier
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
+ #### Cats
35
+
36
+ ![Cats](images/Cats.jpg)
37
+
38
+ #### Dogs
39
+
40
+ ![Dogs](images/Dogs.jpg)
41
+
42
+ #### Koala Bear
43
+
44
+ ![Koala Bear](images/Koala_Bear.jpg)
45
+
46
+ #### Meerkat
47
+
48
+ ![Meerkat](images/Meerkat.jpg)
49
+
50
+ #### Monkey
51
+
52
+ ![Monkey](images/Monkey.jpg)
53
+
54
+ #### Panda
55
+
56
+ ![Panda](images/Panda.jpg)
57
+
58
+ #### Penguin
59
+
60
+ ![Penguin](images/Penguin.jpg)
61
+
62
+ #### Rabbit
63
+
64
+ ![Rabbit](images/Rabbit.jpg)
65
+
66
+ #### Tiger
67
+
68
+ ![Tiger](images/Tiger.jpg)
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Cats",
13
+ "1": "Dogs",
14
+ "2": "Koala Bear",
15
+ "3": "Meerkat",
16
+ "4": "Monkey",
17
+ "5": "Panda",
18
+ "6": "Penguin",
19
+ "7": "Rabbit",
20
+ "8": "Tiger"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "Cats": "0",
27
+ "Dogs": "1",
28
+ "Koala Bear": "2",
29
+ "Meerkat": "3",
30
+ "Monkey": "4",
31
+ "Panda": "5",
32
+ "Penguin": "6",
33
+ "Rabbit": "7",
34
+ "Tiger": "8"
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "vit",
38
+ "num_attention_heads": 12,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 12,
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.29.2"
46
+ }
images/Cats.jpg ADDED

Git LFS Details

  • SHA256: d2cd6b5a41815f7a303d1d3a0af91d68913c8f556f510f14da135c27a1809d2c
  • Pointer size: 130 Bytes
  • Size of remote file: 15.5 kB
images/Dogs.jpg ADDED

Git LFS Details

  • SHA256: 7170cc13a44f4dd05694287e6febeec1199b3cc6258453e3e8945f5448e09409
  • Pointer size: 130 Bytes
  • Size of remote file: 33.6 kB
images/Koala_Bear.jpg ADDED

Git LFS Details

  • SHA256: ef8d0a1e9b1f45041fb5b04dc91cec515afa03f30bb4c86768fcb26d0bfb193b
  • Pointer size: 130 Bytes
  • Size of remote file: 32 kB
images/Meerkat.jpg ADDED

Git LFS Details

  • SHA256: 735e43b42baf1b8579817cb33abbff3193a8afba4adde0d75b51ec5e282e40f0
  • Pointer size: 130 Bytes
  • Size of remote file: 18.6 kB
images/Monkey.jpg ADDED

Git LFS Details

  • SHA256: 672613efe32546c3b591b1e493f8a4d3b85758145549eb1a03353d4421303a46
  • Pointer size: 130 Bytes
  • Size of remote file: 50.9 kB
images/Panda.jpg ADDED

Git LFS Details

  • SHA256: 38f34817e83a4da0bc36209edcac991098effbffe3c9982469c464dc9432e6e1
  • Pointer size: 130 Bytes
  • Size of remote file: 27.4 kB
images/Penguin.jpg ADDED

Git LFS Details

  • SHA256: d04d3e28ac8a90f74e493fc46ab6d870b446342e2ea8adbf2f307d62f82105e5
  • Pointer size: 130 Bytes
  • Size of remote file: 42.9 kB
images/Rabbit.jpg ADDED

Git LFS Details

  • SHA256: 1f07cc3c52797ce11914136c36a338b466fab57233f109478a3f43ff8940efd9
  • Pointer size: 130 Bytes
  • Size of remote file: 48.1 kB
images/Tiger.jpg ADDED

Git LFS Details

  • SHA256: c2beae19a3f7b988520055162498fd2042ca442ebee62e402ee14c356844541e
  • Pointer size: 130 Bytes
  • Size of remote file: 36.1 kB
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:45fb51adc60010b4cc9c7403f516c3b63eacd5790968f58d150ed39fda2f307d
3
+ size 343287469
runs/events.out.tfevents.1685522295.07dac1cac1cc.175.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a895d445ef6e74595bef8db92506f778df121e0ea58e3189d1f223639658abc
3
+ size 1960