Commit 3b0a1bb7 authored by dasharatha.vamshi's avatar dasharatha.vamshi

openvino

parent 61ca2cce
......@@ -178,8 +178,8 @@ class Welspun_Classifier(ModelWrapper):
# imagenet_stats
mean = [0.485, 0.456, 0.406]
std = [0.229, 0.224, 0.225]
# image = image * 1 / 255.0
# image = (image - mean) / std
image = image * 1 / 255.0
image = (image - mean) / std
return image
def softmax_function(self, vec):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment