hello, I train a regression model, from image to 3 number as output, and I want to deploy it on M7.
My model was trained with caffe transform params that pixel value of 0-255 trans to 0-1, which the pixel value of Image class on the board does not match my input.
But I found nothing with image pixel rescaled method. Is there such method existed?
Another question is, I try to bypass this problem by adding a “trans” convolution layer after Data layer with fixed params, weight=1/255 and bias=0. When I deploy this model, the program crashed when running
and no error message.
The original model without “trans” conv layer can work but just outputs nonsense numbers.