MallikMan commited on
Commit
c221e95
·
1 Parent(s): 0e49c63

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,8 @@ 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/Abyssinian.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/Devon_Rex_Cat_Breed.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Japanese_Bobtail_Cat_Breed.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/british_shorthair.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/siamese_cat.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: cool-cattos
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.7083333134651184
19
+ ---
20
+
21
+ # cool-cattos
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
+ #### Abyssinian
35
+
36
+ ![Abyssinian](images/Abyssinian.jpg)
37
+
38
+ #### Devon Rex Cat Breed
39
+
40
+ ![Devon Rex Cat Breed](images/Devon_Rex_Cat_Breed.jpg)
41
+
42
+ #### Japanese Bobtail Cat Breed
43
+
44
+ ![Japanese Bobtail Cat Breed](images/Japanese_Bobtail_Cat_Breed.jpg)
45
+
46
+ #### british shorthair
47
+
48
+ ![british shorthair](images/british_shorthair.jpg)
49
+
50
+ #### siamese cat
51
+
52
+ ![siamese cat](images/siamese_cat.jpg)
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Abyssinian",
13
+ "1": "Devon Rex Cat Breed",
14
+ "2": "Japanese Bobtail Cat Breed",
15
+ "3": "british shorthair",
16
+ "4": "siamese cat"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Abyssinian": "0",
23
+ "Devon Rex Cat Breed": "1",
24
+ "Japanese Bobtail Cat Breed": "2",
25
+ "british shorthair": "3",
26
+ "siamese cat": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.28.1"
38
+ }
images/Abyssinian.jpg ADDED

Git LFS Details

  • SHA256: 898f30086f38143935046c75bf2edeb4ce975518db9ac7b86cdf22abc86315ff
  • Pointer size: 130 Bytes
  • Size of remote file: 21 kB
images/Devon_Rex_Cat_Breed.jpg ADDED

Git LFS Details

  • SHA256: 85d3e64d10f798be482e323226fd5b7028a6dfaa05a222d9be773b626775859e
  • Pointer size: 130 Bytes
  • Size of remote file: 17.1 kB
images/Japanese_Bobtail_Cat_Breed.jpg ADDED

Git LFS Details

  • SHA256: 998dbe16022ac7c0fca970c444ca98ce3279c3eb0fb823c326fa1ebd6d8d69ae
  • Pointer size: 130 Bytes
  • Size of remote file: 31.5 kB
images/british_shorthair.jpg ADDED

Git LFS Details

  • SHA256: aca51c05fe6fa085d89e0faeffcf6d61f1b96ccf557be85b843484e43ee2edcf
  • Pointer size: 130 Bytes
  • Size of remote file: 54.2 kB
images/siamese_cat.jpg ADDED

Git LFS Details

  • SHA256: 67c8f296abe3b6fb6c66ed72d5ff7fc5d99659361d2d0b77ef536591b4096d72
  • Pointer size: 130 Bytes
  • Size of remote file: 24.3 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:c32382a203314ee7a19ba42202d3aaa304bbea0f98a6b04ed9f723dc202b8b5a
3
+ size 343275181
runs/events.out.tfevents.1683446884.d574355dae04.489.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e3256cbf9ce66062bf1a18bbdf6755b72bcae65d01a49771954c8af0749f6cf
3
+ size 1399