Closed ChRiSsHiH11 closed 1 year ago
I will be out of town for three days starting today, so I will not be able to operate my PC and proceed with various investigations.
https://github.com/PINTO0309/PINTO_model_zoo/tree/main/276_HybridNets
I have tried convert by using the onnx file in model zoo. it works and inference result are correct. I also build up a new env to export same onnx format in model zoo. It seems solved the convolution issue, but come out of reshape issue.
Unless there is an error message or a detailed description of the situation, no one will be able to comment or reproduce it.
I know. I'm just trying to test more different situations. I'll show results or error message in few days
Compared with model zoo, the ONNX converted through the same environment has little differences, such as the part in the box in the figure. When converting the onnx into tflite through this Onnx, it also has differences on Pad Node. Is there anything to pay attention to in the conversion of Pad node?
I also notice that the architecture seems to be a little different. Have you adjusted the model?
I just disabled MemoryEfficientSwish()
.
Btw, trying to examine multiple issues at the same time is confusing. It is difficult for me to pinpoint exactly what the problem is because I cannot reproduce the environment you have at your disposal.
The latest version of onnxsim has a bug. https://github.com/PINTO0309/onnx2tf/issues/312#issuecomment-1509871390
It can successfully inference and quantization after downgrading the onnxsim.
Thank you for all your assistance!!
Issue Type
Others
onnx2tf version number
1.9.1
onnx version number
1.13.1
tensorflow version number
2.12.0
Download URL for ONNX
https://drive.google.com/file/d/1_jVTFW2AalBghRMzQez5u1hpcizGKvZc/view?usp=share_link
Parameter Replacement JSON
Description