Good morning, Erik,
I have been trying the tflite2tensorflow package. Per the package README, I have:
Created a frozed .pb file:
--model_path 021023_model.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb \
--optimizing_for_openvino_and_myriad \
--rigorous_optimization_for_myriad
TensorFlow/Keras model building process complete!
saved_model / .pb output started ====================================================
saved_model / .pb output complete!
However, on the .blob creation step:
tflite2tensorflow \
--model_path 021023_model.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_tftrt_float32 \
--output_tftrt_float16 \
--output_onnx \
--onnx_opset 11 \
--output_openvino_and_myriad
Myriad Inference Engine blob convertion started ============================================
Traceback (most recent call last):
File "/usr/local/bin/tflite2tensorflow", line 6608, in <module>
main()
File "/usr/local/bin/tflite2tensorflow", line 6578, in main
shutil.copy(f'{model_output_path}/openvino/FP16/saved_model.xml', f'{model_output_path}/openvino/FP16/saved_model_vino.xml')
File "/usr/lib/python3.8/shutil.py", line 418, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.8/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'saved_model/openvino/FP16/saved_model.xml'
I played with it for a few hours, and couldn't find anywhere that that file was supposed to get created.
Please advise. Thank you!
mikie