I have been trying to convert BlitzNet from tflite to onnx.
BlitzNet is provided in Tf, so i converted to tflite and now to onnx.
On the process I get following error:
Comman line: tflite2onnx ./blitz_seg.tflite ./onnx/model_seg_tflite.onnx
Empty tensor used, please double confirm your code path!
Traceback (most recent call last):
File "/home/juhyun/Tf/bin/tflite2onnx", line 8, in
sys.exit(cmd_convert())
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/convert.py", line 58, in cmd_convert
convert(args.tflite_path, args.onnx_path)
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/convert.py", line 44, in convert
model.convert(explicit_layouts)
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/model.py", line 39, in convert
self.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/model.py", line 31, in parse
g.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/graph.py", line 64, in parse
op.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/op/resize.py", line 102, in parse
raise NotImplementedError("This path has not been tried")
NotImplementedError: This path has not been tried
I have tried not using command line, but same error. There is so little explanation of how to use tflite2onnx, so some explanation would be really thankful!
I have been trying to convert BlitzNet from tflite to onnx. BlitzNet is provided in Tf, so i converted to tflite and now to onnx. On the process I get following error:
Comman line: tflite2onnx ./blitz_seg.tflite ./onnx/model_seg_tflite.onnx Empty tensor used, please double confirm your code path! Traceback (most recent call last): File "/home/juhyun/Tf/bin/tflite2onnx", line 8, in
sys.exit(cmd_convert())
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/convert.py", line 58, in cmd_convert
convert(args.tflite_path, args.onnx_path)
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/convert.py", line 44, in convert
model.convert(explicit_layouts)
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/model.py", line 39, in convert
self.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/model.py", line 31, in parse
g.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/graph.py", line 64, in parse
op.parse()
File "/home/juhyun/Tf/lib/python3.6/site-packages/tflite2onnx/op/resize.py", line 102, in parse
raise NotImplementedError("This path has not been tried")
NotImplementedError: This path has not been tried
I have tried not using command line, but same error. There is so little explanation of how to use tflite2onnx, so some explanation would be really thankful!