lazyturtl commited on
Commit
c0280c6
1 Parent(s): a99cea8

commit files to HF hub

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: blocks
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.4444444477558136
19
+ ---
20
+
21
+ # blocks
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
+ #### blue color
35
+
36
+ ![blue color](images/blue_color.jpg)
37
+
38
+ #### cyan color
39
+
40
+ ![cyan color](images/cyan_color.jpg)
41
+
42
+ #### green color
43
+
44
+ ![green color](images/green_color.jpg)
45
+
46
+ #### orange color
47
+
48
+ ![orange color](images/orange_color.jpg)
49
+
50
+ #### red color
51
+
52
+ ![red color](images/red_color.jpg)
53
+
54
+ #### yellow color
55
+
56
+ ![yellow color](images/yellow_color.jpg)
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "blue color",
13
+ "1": "cyan color",
14
+ "2": "green color",
15
+ "3": "orange color",
16
+ "4": "red color",
17
+ "5": "yellow color"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "blue color": "0",
24
+ "cyan color": "1",
25
+ "green color": "2",
26
+ "orange color": "3",
27
+ "red color": "4",
28
+ "yellow color": "5"
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.18.0"
40
+ }
images/blue_color.jpg ADDED
images/cyan_color.jpg ADDED
images/green_color.jpg ADDED
images/orange_color.jpg ADDED
images/red_color.jpg ADDED
images/yellow_color.jpg ADDED
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_resize": true,
4
+ "feature_extractor_type": "ViTFeatureExtractor",
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_std": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "resample": 2,
16
+ "size": 224
17
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56fae0caf7a319eb88f535e494fa38621947eb25d40d002e9d22425a7da7c081
3
+ size 343276465
runs/events.out.tfevents.1649743971.38bbaf15b7b0.74.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cba85e60b99c92176b2c55dd282425d1020fc623b25283f12d1b17b5d4936a5
3
+ size 881