Skip to content

Commit

Permalink
process output
Browse files Browse the repository at this point in the history
  • Loading branch information
yfeng95 committed Apr 2, 2018
1 parent 2993037 commit 4bbb335
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def restore(self, model_path):
def predict(self, image):
pos = self.sess.run(self.x_op,
feed_dict = {self.x: image[np.newaxis, :,:,:]})
pos = np.squeeze(pos)
return pos*self.MaxPos

def predict_batch(self, images):
Expand Down

0 comments on commit 4bbb335

Please sign in to comment.