Bazzar commited on
Commit
27834b8
·
1 Parent(s): e1b27a8

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,10 @@ 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/Basalt.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/Coal.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/Granite.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/Limestone.jpg filter=lfs diff=lfs merge=lfs -text
40
+ images/Marble.jpg filter=lfs diff=lfs merge=lfs -text
41
+ images/Quartzite.jpg filter=lfs diff=lfs merge=lfs -text
42
+ images/Sandstone.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - pytorch
5
+ - huggingpics
6
+ metrics:
7
+ - accuracy
8
+
9
+ model-index:
10
+ - name: cv_rock_classification
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8327974081039429
19
+ ---
20
+
21
+ # cv_rock_classification
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
+ #### Basalt
35
+
36
+ ![Basalt](images/Basalt.jpg)
37
+
38
+ #### Coal
39
+
40
+ ![Coal](images/Coal.jpg)
41
+
42
+ #### Granite
43
+
44
+ ![Granite](images/Granite.jpg)
45
+
46
+ #### Limestone
47
+
48
+ ![Limestone](images/Limestone.jpg)
49
+
50
+ #### Marble
51
+
52
+ ![Marble](images/Marble.jpg)
53
+
54
+ #### Quartzite
55
+
56
+ ![Quartzite](images/Quartzite.jpg)
57
+
58
+ #### Sandstone
59
+
60
+ ![Sandstone](images/Sandstone.jpg)
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Basalt",
13
+ "1": "Coal",
14
+ "2": "Granite",
15
+ "3": "Limestone",
16
+ "4": "Marble",
17
+ "5": "Quartzite",
18
+ "6": "Sandstone"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Basalt": "0",
25
+ "Coal": "1",
26
+ "Granite": "2",
27
+ "Limestone": "3",
28
+ "Marble": "4",
29
+ "Quartzite": "5",
30
+ "Sandstone": "6"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.32.0"
42
+ }
images/Basalt.jpg ADDED

Git LFS Details

  • SHA256: 74c02964f18e72be6c227abdfc5c1b09f5c0db83a665660ef3682cd336b86998
  • Pointer size: 130 Bytes
  • Size of remote file: 16.1 kB
images/Coal.jpg ADDED

Git LFS Details

  • SHA256: 14b1073edebf4a234e3dda28311dee8a91469ece91b186e103db85e204d1ec64
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
images/Granite.jpg ADDED

Git LFS Details

  • SHA256: 4a3a29bc2e88b4c776beb58e0d0c53144033c8f3bd532ef4c5bc5f6f615037a1
  • Pointer size: 130 Bytes
  • Size of remote file: 22.1 kB
images/Limestone.jpg ADDED

Git LFS Details

  • SHA256: e5dc7c483902352b7c62da7bee0ead3ab1a78bf6bfe34a71bcec1f64d42ce62a
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
images/Marble.jpg ADDED

Git LFS Details

  • SHA256: 60813027325e52888005b97033e6b86229915097b71929902265ad3dc5410269
  • Pointer size: 129 Bytes
  • Size of remote file: 4.21 kB
images/Quartzite.jpg ADDED

Git LFS Details

  • SHA256: 56aee7c5e33638e75f0053e9cf696c18e708738c10494ecf6c507e2ba2f11ab2
  • Pointer size: 131 Bytes
  • Size of remote file: 456 kB
images/Sandstone.jpg ADDED

Git LFS Details

  • SHA256: a75c1ccbf464dc35efc2904722c81167b00b795ba6b78f247c17dc476cbf8131
  • Pointer size: 131 Bytes
  • Size of remote file: 234 kB
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4eb90c257d36b22b0cdf7a725b61b3943b5c599e0e8583bd58a964b96a65db3c
3
+ size 343281325
runs/events.out.tfevents.1693792540.gpu1.32555.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f44a3205993263f19deefb637f4bb1521ad4941fee0584646ab2b25aab1500df
3
+ size 11313