boisterous commited on
Commit
0ae1dd2
·
1 Parent(s): db0084d

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/Angry_human_face.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Confused_human_face.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Happy_human_face.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Sad_human_face.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/Suprised_human_face.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: Emotions
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.3125
19
+ ---
20
+
21
+ # Emotions
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
+ #### Angry human face
35
+
36
+ ![Angry human face](images/Angry_human_face.jpg)
37
+
38
+ #### Confused human face
39
+
40
+ ![Confused human face](images/Confused_human_face.jpg)
41
+
42
+ #### Happy human face
43
+
44
+ ![Happy human face](images/Happy_human_face.jpg)
45
+
46
+ #### Sad human face
47
+
48
+ ![Sad human face](images/Sad_human_face.jpg)
49
+
50
+ #### Suprised human face
51
+
52
+ ![Suprised human face](images/Suprised_human_face.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": "Angry human face",
13
+ "1": "Confused human face",
14
+ "2": "Happy human face",
15
+ "3": "Sad human face",
16
+ "4": "Suprised human face"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "Angry human face": "0",
23
+ "Confused human face": "1",
24
+ "Happy human face": "2",
25
+ "Sad human face": "3",
26
+ "Suprised human face": "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.44.2"
38
+ }
images/Angry_human_face.jpg ADDED

Git LFS Details

  • SHA256: c3f3b24097f071f16e872150b46736ae810077ea1d7e114fb7e43d59a647e173
  • Pointer size: 130 Bytes
  • Size of remote file: 13.9 kB
images/Confused_human_face.jpg ADDED

Git LFS Details

  • SHA256: 0411bc1e7d4bd0f14c82ed5fb6bfa24af9c3c4b62fc5629fcf7b9c0f9cd0ca7c
  • Pointer size: 130 Bytes
  • Size of remote file: 44.4 kB
images/Happy_human_face.jpg ADDED

Git LFS Details

  • SHA256: c2db4219fd8eaf5f7af9e12dcc55e257b7cb5bc262d76ef9be43e76042d60757
  • Pointer size: 130 Bytes
  • Size of remote file: 23.9 kB
images/Sad_human_face.jpg ADDED

Git LFS Details

  • SHA256: ba287b4c018705d5c372d1792cdfdc7ec025179261db2ad4275f1743cedf990e
  • Pointer size: 130 Bytes
  • Size of remote file: 10.9 kB
images/Suprised_human_face.jpg ADDED

Git LFS Details

  • SHA256: 659e32ad19481badda0c0c6574333a9197eddba862c3675827644859b801763e
  • Pointer size: 130 Bytes
  • Size of remote file: 19.7 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acaeee512b6317997daa3a8626884454d75580493f79a3657734cc8e56af76f6
3
+ size 343233204
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
+ }
runs/events.out.tfevents.1726011841.89bba5c26022.666.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a4c2dbf79994f819e2706bdeab770602ca80f1134bdba1c16f2eec07b548486
3
+ size 1492