You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My expected processing flow is to first reduce the picture to the input size of the network, then divide by 255.0, subtract mean, and divide by std.
My code is:
The mean and std here are the result of multiplying by 255, because my mean and std are obtained in the range of 0 ~ 1.
I am not sure if the processing flow of MNN :: CV :: ImageProcess module is divided by 255.
I used the interface I wrote and processed it according to the process I mentioned before, and I can get the correct results.
So I guess that my code can't be executed according to my expectations. Can someone teach me how to configure MNN :: CV :: ImageProcess module before resize, then reduce maen, and then divide std?
Thank you very much~
The text was updated successfully, but these errors were encountered:
My expected processing flow is to first reduce the picture to the input size of the network, then divide by 255.0, subtract mean, and divide by std.
My code is:
The mean and std here are the result of multiplying by 255, because my mean and std are obtained in the range of 0 ~ 1.
I am not sure if the processing flow of MNN :: CV :: ImageProcess module is divided by 255.
I used the interface I wrote and processed it according to the process I mentioned before, and I can get the correct results.
So I guess that my code can't be executed according to my expectations. Can someone teach me how to configure MNN :: CV :: ImageProcess module before resize, then reduce maen, and then divide std?
Thank you very much~
The text was updated successfully, but these errors were encountered: