Closed yyuzhong closed 2 years ago
https://tfhub.dev/google/lite-model/magenta/arbitrary-image-stylization-v1-256/fp16/prediction/1
docker run -it --rm \
-v `pwd`:/home/user/workdir \
ghcr.io/pinto0309/tflite2tensorflow:latest
tflite2tensorflow \
--model_path magenta_arbitrary-image-stylization-v1-256_fp16_prediction_1.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb \
--optimizing_for_openvino_and_myriad
tflite2tensorflow \
--model_path magenta_arbitrary-image-stylization-v1-256_fp16_prediction_1.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_no_quant_float32_tflite \
--output_dynamic_range_quant_tflite \
--output_weight_quant_tflite \
--output_float16_quant_tflite \
--output_integer_quant_tflite \
--string_formulas_for_normalization 'data / 255.0' \
--output_tfjs \
--output_coreml \
--output_onnx \
--onnx_opset 11 \
--output_openvino_and_myriad
Can I output the model to Keras .h5 format? Thanks!
openvino2tensorflow \
--model_path saved_model/openvino/FP32/saved_model.xml \
--output_h5
Issue Type
Bug
OS
Ubuntu
OS architecture
x86_64
Programming Language
Python
Framework
OpenVINO
Download URL for ONNX / OpenVINO IR
https://tfhub.dev/google/magenta/arbitrary-image-stylization-v1-256/2
Convert Script
pwd
:/home/user/workdir ghcr.io/pinto0309/openvino2tensorflow:latestDescription
Please see errors.
Do I need to change TF version in Docker?
Thanks!
Relevant Log Output
Source code for simple inference testing code
No response