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
For python3, scikit-image is automatically upgraded to 0.15.0, and the resize function in preprocessing will output different values as the previous versions:
https://github.com/foss-for-synopsys-dwc-arc-processors/synopsys-caffe/blob/master/python/caffe/io.py#L332
test script (compare the python2 vs python3 results):
import caffe
transformer = caffe.io.Transformer({'data':(1, 3, 224, 224)})
img = caffe.io.load_image("/DATA/yche/cnn_models/caffe_models/images/ImageNet/jpeg/n01580077_10435.jpeg")
print(transformer.preprocess('data', img))
0 commit comments