aravindchandran22 commited on
Commit
9119111
1 Parent(s): 4aebb2e

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/COMPASS.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/ERASER.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/PEN.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/PENCIL.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/SCALE.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: identify_stationery
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.0
19
+ ---
20
+
21
+ # identify_stationery
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
+ #### COMPASS
35
+
36
+ ![COMPASS](images/COMPASS.jpg)
37
+
38
+ #### ERASER
39
+
40
+ ![ERASER](images/ERASER.jpg)
41
+
42
+ #### PEN
43
+
44
+ ![PEN](images/PEN.jpg)
45
+
46
+ #### PENCIL
47
+
48
+ ![PENCIL](images/PENCIL.jpg)
49
+
50
+ #### SCALE
51
+
52
+ ![SCALE](images/SCALE.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": "COMPASS",
13
+ "1": "ERASER",
14
+ "2": "PEN",
15
+ "3": "PENCIL",
16
+ "4": "SCALE"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "COMPASS": "0",
23
+ "ERASER": "1",
24
+ "PEN": "2",
25
+ "PENCIL": "3",
26
+ "SCALE": "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.41.2"
38
+ }
images/COMPASS.jpg ADDED

Git LFS Details

  • SHA256: 8fc5b9fe61600111ff324cc9d75c767e87543e0a7ff0b2869712d2f0b6670ebf
  • Pointer size: 130 Bytes
  • Size of remote file: 19.3 kB
images/ERASER.jpg ADDED

Git LFS Details

  • SHA256: f7a62eea8d59af4fae3690ec95cb548c3dc46ac7bac5051457bbd3cf6d186ea4
  • Pointer size: 130 Bytes
  • Size of remote file: 11.1 kB
images/PEN.jpg ADDED

Git LFS Details

  • SHA256: f1a1510afcd33ce19dda9af18636bc312a663db8d7d3465242062abb9af7707c
  • Pointer size: 130 Bytes
  • Size of remote file: 13.5 kB
images/PENCIL.jpg ADDED

Git LFS Details

  • SHA256: f4126c43a6e25292f28990aa803d0dc4090c3aec760f7f5409620e9499e7448d
  • Pointer size: 130 Bytes
  • Size of remote file: 21.8 kB
images/SCALE.jpg ADDED

Git LFS Details

  • SHA256: 795cb3680aa504af4d32c765a2903a21ef895a473eee175f403ea5e80dd0f8cf
  • Pointer size: 130 Bytes
  • Size of remote file: 43.3 kB
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0059003839b410a8fccc2a979ada45b9d919acfa1072a2a82644ef4cb16c4038
3
+ size 343233204
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTFeatureExtractor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
runs/events.out.tfevents.1720248211.592564f470f1.386.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3ad5392b594b4bb626b77e7b93ab743b6f106d8e7361386e27a6176349de0d6
3
+ size 929