Closed zshn25 closed 3 years ago
The transposition of weights in Add OP was insufficient, so the process was added and the error was corrected so that it does not occur. 264ebfe6c6519c98da83333f6e5f19d6a8b3d40d openvino2tensorflow==v1.10.2
The conversion will be successful, but there are some things you need to be aware of. Currently, it is not possible to correctly predict the shape of a 5D Transpose or Reshape. Therefore, you need to follow the steps here and use an external file (json) to force the correction of incorrect transposition behavior. 6-7. Replace weights or constant values in Const OP
Note that EdgeTPU does not support 5D transpose operation.
Closed due to lack of progress.
1. OS you are using e.g. Ubuntu 20.04, WIndows10, etc
Ubuntu 18.04
2. OS Architecture e.g. x86_64, armv7l, aarch64, etc
x86 64
3. Version of OpenVINO e.g. 2021.2.185, etc
2021.2.0-1877-176bdf51370
4. Version of TensorFlow e.g. v2.4.1, tf-nightly==2.5.0.dev20210128, etc
2.4.1
8. Version of ONNX e.g. v1.8.0, etc
1.7.0
9. Download URL for ONNX model
my onnx model is located here
For OpenVino conversion, I did
python /opt/intel/openvino_2021/deployment_tools/model_optimizer/mo.py --input_model resnet18.onnx --input_shape [1,3,192,640] --output_dir openvino/192x640/FP32 --data_type FP32
and then for TFLite, I did
13. Issue Details
I get the following error. I think there is some inconsistency while
NCHW
toNHWC
conversion.