openvino-ci commited on
Commit
9054eff
·
verified ·
1 Parent(s): 5f86197

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. README.md +67 -0
  3. efficientnet_b5.bin +3 -0
  4. efficientnet_b5.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,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ tags:
4
+ - image-classification
5
+ - vision
6
+ ---
7
+
8
+ # efficientnet_b5-fp16-ov
9
+
10
+ - Model creator: [torchvision](https://github.com/pytorch/vision)
11
+ - Original model: [efficientnet_b5](https://docs.pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_b5.html)
12
+
13
+ ## Description
14
+
15
+ This is a torchvision version of [efficientnet_b5](https://docs.pytorch.org/vision/main/models/generated/torchvision.models.efficientnet_b5.html) model converted to the [OpenVINO™ IR](https://docs.openvino.ai/2026/documentation/openvino-ir-format.html) (Intermediate Representation) format with weights compressed to FP16.
16
+
17
+ ## Compatibility
18
+
19
+ The provided OpenVINO™ IR model is compatible with:
20
+
21
+ - OpenVINO version 2026.1.0 and higher
22
+ - Model API 0.4.0 and higher
23
+
24
+ ## Running Model Inference with [Model API](https://github.com/open-edge-platform/model_api)
25
+
26
+ 1. Install required packages:
27
+
28
+ ```sh
29
+ pip install openvino-model-api[huggingface]
30
+ ```
31
+
32
+ <!-- markdownlint-disable MD029 -->
33
+
34
+ 2. Run model inference:
35
+
36
+ ```python
37
+ import cv2
38
+ from model_api.models import Model
39
+ from model_api.visualizer import Visualizer
40
+
41
+ # 1. Load model
42
+ model = Model.from_pretrained("OpenVINO/efficientnet_b5-fp16-ov")
43
+
44
+ # 2. Load image
45
+ image = cv2.imread("image.jpg")
46
+
47
+ # 3. Run inference
48
+ result = model(image)
49
+
50
+ # 4. Visualize and save results
51
+ vis = Visualizer().render(image, result)
52
+ cv2.imwrite("output.jpg", vis)
53
+ ```
54
+
55
+ For more examples and possible optimizations, refer to the [Model API Documentation](https://open-edge-platform.github.io/model_api/latest/).
56
+
57
+ ## Limitations
58
+
59
+ Check the original [model implementation](https://github.com/pytorch/vision) for limitations.
60
+
61
+ ## Legal information
62
+
63
+ 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).
64
+
65
+ ## Disclaimer
66
+
67
+ 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_b5.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffec9c9aef6233bee957887e522406c37a50254de4833ad24fd43ba42d728fe9
3
+ size 60606880
efficientnet_b5.xml ADDED
The diff for this file is too large to render. See raw diff