Closed danilopau closed 2 years ago
Fix: https://github.com/PINTO0309/openvino2tensorflow/commit/f719975560abedfe9beabfd371ce60e24cda043a v1.29.6
wget https://storage.openvinotoolkit.org/repositories/open_model_zoo/2022.1/models_bin/3/unet-camvid-onnx-0001/FP32/unet-camvid-onnx-0001.xml
wget https://storage.openvinotoolkit.org/repositories/open_model_zoo/2022.1/models_bin/3/unet-camvid-onnx-0001/FP32/unet-camvid-onnx-0001.bin
docker run -it --rm \
-v `pwd`:/home/user/workdir \
ghcr.io/pinto0309/openvino2tensorflow:latest
pip install openvino2tensorflow --upgrade
openvino2tensorflow \
--model_path unet-camvid-onnx-0001.xml \
--output_saved_model \
--output_pb \
--non_verbose \
--output_no_quant_float32_tflite
TensorFlow/Keras model building process complete!
saved_model output started ==========================================================
saved_model output complete!
.pb output started ==================================================================
.pb output complete! - saved_model/model_float32.pb
tflite Float32 convertion started ===================================================
tflite Float32 convertion complete! - saved_model/model_float32.tflite
All the conversion process is finished! =============================================
Issue Type
Bug
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
OpenVINO
Download URL for ONNX / OpenVINO IR
omz_downloader --name unet-camvid-onnx-0001 then pick the FP16-INT8 version unet-camvid-onnx-0001-xml and unet-camvid-onnx-0001.bin
Convert Script
Description
need to convert openvino to tflite with int8 and/or fp32 and without fp16
Relevant Log Output
Source code for simple inference testing code
No response