openvino-ci commited on
Commit
63315d2
·
verified ·
1 Parent(s): c025d99

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +76 -0
  3. efficientnet_v2_m.bin +3 -0
  4. efficientnet_v2_m.xml +0 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ *.gif filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ tags:
4
+ - image-classification
5
+ - vision
6
+ ---
7
+
8
+ # efficientnet_v2_m-int8-ov
9
+
10
+ - Model creator: [torchvision](https://github.com/pytorch/vision)
11
+ - Original model: [efficientnet_v2_m](https://docs.pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_v2_m.html)
12
+
13
+ ## Description
14
+
15
+ This is a torchvision version of [efficientnet_v2_m](https://docs.pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_v2_m.html) model converted to the [OpenVINO™ IR](https://docs.openvino.ai/2026/documentation/openvino-ir-format.html) (Intermediate Representation) format with weights compressed to INT8.
16
+
17
+ ## Quantization Parameters
18
+
19
+ Weight compression was performed using nncf.quantize with the following parameters:
20
+
21
+ - **Quantization method**: Post-Training Quantization (PTQ)
22
+ - **Precision**: INT8 for both weights and activations
23
+
24
+ For more information on quantization, check the [OpenVINO model optimization guide](https://docs.openvino.ai/2026/openvino-workflow/model-optimization-guide/quantizing-models-post-training.html).
25
+
26
+ ## Compatibility
27
+
28
+ The provided OpenVINO™ IR model is compatible with:
29
+
30
+ - OpenVINO version 2026.1.0 and higher
31
+ - Model API 0.4.0 and higher
32
+
33
+ ## Running Model Inference with [Model API](https://github.com/open-edge-platform/model_api)
34
+
35
+ 1. Install required packages:
36
+
37
+ ```sh
38
+ pip install openvino-model-api[huggingface]
39
+ ```
40
+
41
+ <!-- markdownlint-disable MD029 -->
42
+
43
+ 2. Run model inference:
44
+
45
+ ```python
46
+ import cv2
47
+ from model_api.models import Model
48
+ from model_api.visualizer import Visualizer
49
+
50
+ # 1. Load model
51
+ model = Model.from_pretrained("OpenVINO/efficientnet_v2_m-int8-ov")
52
+
53
+ # 2. Load image
54
+ image = cv2.imread("image.jpg")
55
+
56
+ # 3. Run inference
57
+ result = model(image)
58
+
59
+ # 4. Visualize and save results
60
+ vis = Visualizer().render(image, result)
61
+ cv2.imwrite("output.jpg", vis)
62
+ ```
63
+
64
+ For more examples and possible optimizations, refer to the [Model API Documentation](https://open-edge-platform.github.io/model_api/latest/).
65
+
66
+ ## Limitations
67
+
68
+ Check the original [model implementation](https://github.com/pytorch/vision) for limitations.
69
+
70
+ ## Legal information
71
+
72
+ The original model is distributed under the [bsd-3-clause](https://spdx.org/licenses/BSD-3-Clause.html) license. More details can be found in [https://github.com/pytorch/vision](https://github.com/pytorch/vision).
73
+
74
+ ## Disclaimer
75
+
76
+ Intel is committed to respecting human rights and avoiding causing or contributing to adverse impacts on human rights. See [Intel’s Global Human Rights Principles](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/policy-human-rights.pdf). Intel’s products and software are intended only to be used in applications that do not cause or contribute to adverse impacts on human rights.
efficientnet_v2_m.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e898e0522fdb0e58afe6c48602080a4b1356eedf6e0e0877a3820c1beac3e92
3
+ size 85249784
efficientnet_v2_m.xml ADDED
The diff for this file is too large to render. See raw diff