timm
/

Image Classification
timm
PyTorch
ONNX
Safetensors
hassenhamdi commited on
Commit
3e44a1c
1 Parent(s): 07725c4

Adding ONNX file of this model

Browse files

Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [hassenhamdi](https://huggingface.co/hassenhamdi), I would like to add to this repository the model converted to ONNX.

What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)!

The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!

Files changed (2) hide show
  1. onnx/config.json +103 -0
  2. onnx/model.onnx +3 -0
onnx/config.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "mobilenetv4_conv_aa_large",
3
+ "num_classes": 1000,
4
+ "num_features": 960,
5
+ "pretrained_cfg": {
6
+ "_name_or_path": "",
7
+ "add_cross_attention": false,
8
+ "architectures": null,
9
+ "bad_words_ids": null,
10
+ "begin_suppress_tokens": null,
11
+ "bos_token_id": null,
12
+ "chunk_size_feed_forward": 0,
13
+ "classifier": "classifier",
14
+ "crop_mode": "center",
15
+ "crop_pct": 0.95,
16
+ "cross_attention_hidden_size": null,
17
+ "custom_load": false,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "early_stopping": false,
22
+ "encoder_no_repeat_ngram_size": 0,
23
+ "eos_token_id": null,
24
+ "exponential_decay_length_penalty": null,
25
+ "finetuning_task": null,
26
+ "first_conv": "conv_stem",
27
+ "fixed_input_size": false,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1"
33
+ },
34
+ "input_size": [
35
+ 3,
36
+ 448,
37
+ 448
38
+ ],
39
+ "interpolation": "bicubic",
40
+ "is_decoder": false,
41
+ "is_encoder_decoder": false,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1
45
+ },
46
+ "length_penalty": 1.0,
47
+ "max_length": 20,
48
+ "mean": [
49
+ 0.485,
50
+ 0.456,
51
+ 0.406
52
+ ],
53
+ "min_length": 0,
54
+ "model_type": "",
55
+ "no_repeat_ngram_size": 0,
56
+ "num_beam_groups": 1,
57
+ "num_beams": 1,
58
+ "num_classes": 1000,
59
+ "num_return_sequences": 1,
60
+ "output_attentions": false,
61
+ "output_hidden_states": false,
62
+ "output_scores": false,
63
+ "pad_token_id": null,
64
+ "pool_size": [
65
+ 14,
66
+ 14
67
+ ],
68
+ "prefix": null,
69
+ "problem_type": null,
70
+ "pruned_heads": {},
71
+ "remove_invalid_values": false,
72
+ "repetition_penalty": 1.0,
73
+ "return_dict": true,
74
+ "return_dict_in_generate": false,
75
+ "sep_token_id": null,
76
+ "std": [
77
+ 0.229,
78
+ 0.224,
79
+ 0.225
80
+ ],
81
+ "suppress_tokens": null,
82
+ "tag": "e230_r448_in12k_ft_in1k",
83
+ "task_specific_params": null,
84
+ "temperature": 1.0,
85
+ "test_crop_pct": 1.0,
86
+ "test_input_size": [
87
+ 3,
88
+ 544,
89
+ 544
90
+ ],
91
+ "tf_legacy_loss": false,
92
+ "tie_encoder_decoder": false,
93
+ "tie_word_embeddings": true,
94
+ "tokenizer_class": null,
95
+ "top_k": 50,
96
+ "top_p": 1.0,
97
+ "torch_dtype": null,
98
+ "torchscript": false,
99
+ "typical_p": 1.0,
100
+ "use_bfloat16": false
101
+ },
102
+ "transformers_version": "4.37.2"
103
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41b62eb9ade49bf1fa8ed42a223600a2c27f3c5f64230b709622f78837629597
3
+ size 130114599