PINTO0309 / openvino2tensorflow

This script converts the ONNX/OpenVINO IR model to Tensorflow's saved_model, tflite, h5, tfjs, tftrt(TensorRT), CoreML, EdgeTPU, ONNX and pb. PyTorch (NCHW) -> ONNX (NCHW) -> OpenVINO (NCHW) -> openvino2tensorflow -> Tensorflow/Keras (NHWC/NCHW) -> TFLite (NHWC/NCHW). And the conversion from .pb to saved_model and from saved_model to .pb and from .pb to .tflite and saved_model to .tflite and saved_model to onnx. Support for building environments with Docker. It is possible to directly access the host PC GUI and the camera to verify the operation. NVIDIA GPU (dGPU) support. Intel iHD GPU (iGPU) support.
MIT License
334 stars 40 forks source link

whisper openvino to tflite(https://huggingface.co/zhuzilin/whisper-openvino-tiny.en/tree/main) #132

Closed nyadla-sys closed 1 year ago

nyadla-sys commented 1 year ago

Issue Type

Bug

OS

Ubuntu

OS architecture

x86_64

Programming Language

Python

Framework

OpenVINO

Download URL for ONNX / OpenVINO IR

https://huggingface.co/zhuzilin/whisper-openvino-tiny.en

Convert Script

openvino2tensorflow --model_path ~/whisper-openvino-tiny.en/encoder.xml --output_saved_model --output_pb --output_weight_quant_tflite --output_float16_quant_tflite --output_no_quant_float32_tflite

Description

Not able to convert whispper openvino model to tflite model https://huggingface.co/zhuzilin/whisper-openvino-tiny.en/encoder.xml

Relevant Log Output

• name=None
ERROR: Please refer to 6-7 in the README first. https://github.com/PINTO0309/openvino2tensorflow

Source code for simple inference testing code

No response

PINTO0309 commented 1 year ago

Please refer to 6-7 in the README first. https://github.com/PINTO0309/openvino2tensorflow