Skip to content

Commit

Permalink
image range for inceptionv3 is -1 to 1
Browse files Browse the repository at this point in the history
not -117 to 117 as previously written.
  • Loading branch information
BeenKim committed Nov 20, 2018
1 parent 3b55126 commit abf5618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def adjust_prediction(self, pred_t):

class InceptionV3Wrapper_public(PublicImageModelWrapper):
def __init__(self, sess, model_saved_path, labels_path):
self.image_value_range = (-117, 255-117)
self.image_value_range = (-1, 1)
image_shape_v3 = [299, 299, 3]
endpoints_v3 = dict(
input='Mul:0',
Expand Down

0 comments on commit abf5618

Please sign in to comment.