keras-onnx
keras-onnx copied to clipboard
Currently no support for more than 1 axis for ReverseV2 op
trafficstars
Trying to use erosion_2d function of Tensorflow (TF 2.3.0) linked to Dilation2D operation (not implemented in onnx), and I got this error which obviously makes the conversion impossible. Is there a fix for that ?
File "C:\Users\jacques1434\venv\tensorflow2\lib\site-packages\keras2onnx\_builtin.py", line 2392, in convert_tf_reverse
raise ValueError("Currently no support for more than 1 axis for ReverseV2 op")
ValueError: Currently no support for more than 1 axis for ReverseV2 op
I precise that this occurs with several opsets up to 11. I use keras2onnx 1.7.1 and onnx 1.7.0.
@buddhapuneeth, is it possible to support axis != 1 case with the existing ONNX operators?
@wenbingl yes, it is possible. We need to reverse_sequence operator only but in need to some manipulations. I can give a try sometime.