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

ir_weight_extractor.py overwrites destination #78

Closed hesamsheikh closed 2 years ago

hesamsheikh commented 2 years ago

Ubuntu 18

I'm using the latest relese v1.25.1 and it seems there is a fatal issue with ir_weight_extractor.py which removes the whole directory given to it as --output_path argument. I gave my ~/Desktop as the output directory and the whole Desktop content was deleted and replaced by weights. Unfortunately I wasn't to recover some of the data. I hope this issue would be fixed.

PINTO0309 commented 2 years ago

Fixes: https://github.com/PINTO0309/openvino2tensorflow/releases/tag/v1.25.2