Tensort model with FP16 give me float16 > 1.0 output with sigmoid activation

Hello,

I created a tensort model with --best option with trtexec on jetson nano from an onnx model, derivated from a keras/tensorflow model.

When using it with float32 input, it works great. But it does not work with input float16.

The output of my last layer is a sigmoid activation so I normally not be able to have float >1.0 but I got values like 5e2, …

Do you have an idea of the problem which cause this and how to solve it ?

Thanks a lot for your help.

Regards

Hi,
This looks like a Jetson issue. Please refer to the below samlples in case useful.

For any further assistance, we recommend you to raise it to the respective platform from the below link

Thanks!

Thanks, I will ask on jetson forum…