models icon indicating copy to clipboard operation
models copied to clipboard

Preprocess for classification model

Open zgplvyou opened this issue 2 years ago • 1 comments

Hi, I try to infer the classification models on onnxruntime engin. however, I can`t get the consistent accuracy in the page except resnet mobilenet and shufflenet. I think the preprocess of these models is different and i use the preprocess in imagenet_preprocess.py. mobilenet and shufflenet converted from pytorch got normal accuracy while inceptionv1 and efficientnet-lite4 converted from caffe got low accuracy. I guess the preprocess of the models from caffe is different.

zgplvyou avatar Feb 23 '23 02:02 zgplvyou

I got low accuracies on bvlcalexnet-12, caffenet-12, googlenet-12, inception-v1-12, inception-v2-9, rcnn-ilsvrc13-9, and zfnet512-12. Does anyone know how the pre-processing steps differ for those models? Thanks.

gcunhase avatar Jan 15 '24 21:01 gcunhase