Values after softmax in torchscript in c++ is not same as python torch

Try reading your image like this:

For the sake of testing, DO NOT use normalisation either in Python nor C++ and see if you get teh same results.

2 Likes