sanali209 commited on
Commit
b9caa72
1 Parent(s): caf08b1

commit files to HF hub

Browse files
README.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: imclasif-content-v001
11
+ results:
12
+ - task:
13
+ name: Image genre Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8538206219673157
19
+ ---
20
+
21
+ # imclasif-content-v001
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).
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Comix",
13
+ "1": "Text",
14
+ "10": "pixelart",
15
+ "11": "schem",
16
+ "2": "Text page",
17
+ "3": "abstract",
18
+ "4": "anime",
19
+ "5": "book kover",
20
+ "6": "cartoon",
21
+ "7": "concept art",
22
+ "8": "game screen",
23
+ "9": "patern"
24
+ },
25
+ "image_size": 224,
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "Comix": "0",
30
+ "Text": "1",
31
+ "Text page": "2",
32
+ "abstract": "3",
33
+ "anime": "4",
34
+ "book kover": "5",
35
+ "cartoon": "6",
36
+ "concept art": "7",
37
+ "game screen": "8",
38
+ "patern": "9",
39
+ "pixelart": "10",
40
+ "schem": "11"
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "model_type": "vit",
44
+ "num_attention_heads": 12,
45
+ "num_channels": 3,
46
+ "num_hidden_layers": 12,
47
+ "patch_size": 16,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.25.1"
52
+ }
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": "ViTImageProcessor",
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:9d030344f612f1203e583669da0e87eecfc4bdb0ff4601c5e1b6826be68abf42
3
+ size 343296685
runs/events.out.tfevents.1673951926.b2b7be8191a4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71037c2c6bbcb8100a937fe5b289c373b4ac49ed91f26f43304a6feb0479ada4
3
+ size 2470