ctrltokyo commited on
Commit
97cad6b
·
1 Parent(s): 7d1b250

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ 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/bengal_cat.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/maine_coon_cat.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/persian_cat.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/ragdoll_cat.jpg filter=lfs diff=lfs merge=lfs -text
40
+ 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: cattocdn-micro
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.7946428656578064
19
+ ---
20
+
21
+ # cattocdn-micro
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
+ #### bengal cat
35
+
36
+ ![bengal cat](images/bengal_cat.jpg)
37
+
38
+ #### maine coon cat
39
+
40
+ ![maine coon cat](images/maine_coon_cat.jpg)
41
+
42
+ #### persian cat
43
+
44
+ ![persian cat](images/persian_cat.jpg)
45
+
46
+ #### ragdoll cat
47
+
48
+ ![ragdoll cat](images/ragdoll_cat.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": "bengal cat",
13
+ "1": "maine coon cat",
14
+ "2": "persian cat",
15
+ "3": "ragdoll cat",
16
+ "4": "siamese cat"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "bengal cat": "0",
23
+ "maine coon cat": "1",
24
+ "persian cat": "2",
25
+ "ragdoll cat": "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.47.1"
38
+ }
images/bengal_cat.jpg ADDED

Git LFS Details

  • SHA256: 095a9121191c3a10cdd2334b63b3934b486237274badae5fa10da003ea98c712
  • Pointer size: 130 Bytes
  • Size of remote file: 33.9 kB
images/maine_coon_cat.jpg ADDED

Git LFS Details

  • SHA256: 84cc9675afb78cb57139dada1462fd520d492b02b77d2348a2ae25f2cd750f5d
  • Pointer size: 130 Bytes
  • Size of remote file: 26.9 kB
images/persian_cat.jpg ADDED

Git LFS Details

  • SHA256: 87775b56af1ce26cbaf7c8b7581b420e748b7ff476d8c7742dca04c5b94e4276
  • Pointer size: 130 Bytes
  • Size of remote file: 24.8 kB
images/ragdoll_cat.jpg ADDED

Git LFS Details

  • SHA256: 41b648cf61e3b060c3838de23f28f4b35fc0e7d3f9b4b370681477cb5164b4a6
  • Pointer size: 129 Bytes
  • Size of remote file: 3.3 kB
images/siamese_cat.jpg ADDED

Git LFS Details

  • SHA256: 6aaa6bc44d83b83142413d3aab0ede5badaa6a79efd4ba6244724893cc08b98f
  • Pointer size: 130 Bytes
  • Size of remote file: 17.1 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80902cea8a6a7a71926237d36f79ab1938f1a79ea52a2a7627b7034675fc1c50
3
+ size 343233204
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.1735052345.35701fed4332.549.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a2e6d6ea0b60a4bc9a030163bfca2cf01d69dada3601ba40446d47e5d473447
3
+ size 1492