Does this mean that using a constant as one of the operands in tf.Maximum() is not supported?
Hi~ is there any update on this issue? Get the same problem…
Replaceing it with custom layer when using uff convert
Hi～Can you elaborate on the solution?@yuan159852
the same question occurred when i transposed tensorflow model to tensorrt engine,i got the .pb file and the .uff file, but it went wrong when i transposed .uff file to tensorrt engine.
the orriginal error string is:
[TensorRT] ERROR: UFFParser: Parser error: head/l2_normalize/Maximum: Unsupported binary op max with constant right
nvdia GeForce GTX 1060
tensorrt version: 188.8.131.52
tensorflow model: resnet_v1_50
I am receiving the same error any movement on this issue other than creating a custom layer? tf.maximum is supposed to be supported under TensorRT 184.108.40.206.
Facing the same issue. Any solution?
For my case, (because l2_norm is the last layer), i was able to remove it and successfully convert to TRT.
If either input is a constant, then at least one of the inputs must be 4 dimensional.
Can someone from Nvidia please share insights why is that and what would be the best solution?
As per TensorFlow docs l2_normalize is
output = x / sqrt(max(sum(x**2), epsilon))
,which basibally means that both (left and right) parts of “max” are scalars and epsilon also constant.
Plugin overcomes two issues:
- l2_normalize/Maximum: Unsupported binary op max with constant right
- l2_normalize/Rsqrt: Unary not supported for other non-constant node
TODO: FP16 still not supported