onnx2keras
onnx2keras copied to clipboard
Support Resize op
ONNX has deprecated UpSample op since opset_version 10.
The replacement op for Upsample is Resize, would be great to support that.
I confirm, with opset 11 I am experiencing the following error:
Traceback (most recent call last): File "./onnx_to_keras.py", line 7, in
k_model = onnx_to_keras(onnx_model, ['input.1']) File "/home/user/anaconda3/lib/python3.8/site-packages/onnx2keras/converter.py", line 175, in onnx_to_keras AVAILABLE_CONVERTERS[node_type]( KeyError: 'Resize'
I am also getting that error with opset 12.
Hi, All! Yes, for sure, that a great idea but the main problem is that Keras doesn't have an appropriate layer of the same functionality (as far as I know). Keras doesn't allow to Upsample/Resize by float number scale factor. If you will find the same Keras functionality - let us know! Thank you!