trulymadlydeeply commited on
Commit
a381c92
1 Parent(s): 258346c

commit files to HF hub

Browse files
.gitattributes CHANGED
@@ -32,3 +32,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ images/egret_flying.jpg filter=lfs diff=lfs merge=lfs -text
36
+ images/paradise_flycatcher_flying.jpg filter=lfs diff=lfs merge=lfs -text
37
+ images/red-crowned_crane_flying.jpg filter=lfs diff=lfs merge=lfs -text
38
+ images/sparrowhawk_flying.jpg filter=lfs diff=lfs merge=lfs -text
39
+ images/swan_flying.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: Chinese-birds-flying-1
11
+ results:
12
+ - task:
13
+ name: Image Classification
14
+ type: image-classification
15
+ metrics:
16
+ - name: Accuracy
17
+ type: accuracy
18
+ value: 0.8072289228439331
19
+ ---
20
+
21
+ # Chinese-birds-flying-1
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
+ #### egret flying
35
+
36
+ ![egret flying](images/egret_flying.jpg)
37
+
38
+ #### paradise flycatcher flying
39
+
40
+ ![paradise flycatcher flying](images/paradise_flycatcher_flying.jpg)
41
+
42
+ #### red-crowned crane flying
43
+
44
+ ![red-crowned crane flying](images/red-crowned_crane_flying.jpg)
45
+
46
+ #### sparrowhawk flying
47
+
48
+ ![sparrowhawk flying](images/sparrowhawk_flying.jpg)
49
+
50
+ #### swan flying
51
+
52
+ ![swan flying](images/swan_flying.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": "egret flying",
13
+ "1": "paradise flycatcher flying",
14
+ "2": "red-crowned crane flying",
15
+ "3": "sparrowhawk flying",
16
+ "4": "swan flying"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "egret flying": "0",
23
+ "paradise flycatcher flying": "1",
24
+ "red-crowned crane flying": "2",
25
+ "sparrowhawk flying": "3",
26
+ "swan flying": "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.25.1"
38
+ }
images/egret_flying.jpg ADDED

Git LFS Details

  • SHA256: 7b64f173abdc5a24c873ea6671dbc8f71851a31c1ee66168b0ce5ca22460cbc9
  • Pointer size: 130 Bytes
  • Size of remote file: 23.6 kB
images/paradise_flycatcher_flying.jpg ADDED

Git LFS Details

  • SHA256: b384a196c9f7d3fdd7bc66c9c6a7a4b5cb241a6ac74019643b3dddd643b22bde
  • Pointer size: 130 Bytes
  • Size of remote file: 17.3 kB
images/red-crowned_crane_flying.jpg ADDED

Git LFS Details

  • SHA256: 106c521da9ff7e4f94cd18d5dbc5704601c25170757c6521e48322fddf43de01
  • Pointer size: 130 Bytes
  • Size of remote file: 15.1 kB
images/sparrowhawk_flying.jpg ADDED

Git LFS Details

  • SHA256: 3785bc52ab83fbc35a6ee6b62ff4559077d516966de33fbf4b2e6694ddd32ed3
  • Pointer size: 130 Bytes
  • Size of remote file: 18.8 kB
images/swan_flying.jpg ADDED

Git LFS Details

  • SHA256: e37ebbbc8e92fc5caec8fdc461ed49a2f5bf9ce0aac2e8b82ff291f3c1a19b59
  • Pointer size: 130 Bytes
  • Size of remote file: 22.7 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": "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:955599d40afbe92d4d033939f43e747bff1ee0fff98df73f47ba52d0c5058e94
3
+ size 343275181
runs/events.out.tfevents.1671496697.9f0e20e2f139 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd96c433bd460ef5b613686f1f7503f55ce560b7274e6d3ff04769a6cf675042
3
+ size 1255