Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The best workaround has been the following setup:

Once the network is transformed I used the call dnn::blobFromImage(img, 1.0f/128, (299,299),(128,128,128), true,false)

Also preprocessd image as follows:

img /=255 img -=0.5 img *= 2