Skip to content

Commit

Permalink
Removing cast, since it was fixed in another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Marianne Linhares Monteiro authored Aug 2, 2017
1 parent 4359c6d commit 0c8dbe5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tutorials/image/cifar10_estimator/cifar10.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def parser(self, serialized_example):
image = tf.transpose(tf.reshape(image, [DEPTH, HEIGHT, WIDTH]), [1, 2, 0])
label = tf.cast(features['label'], tf.int32)

# Custom preprocessing .
image = tf.cast(image, tf.float32)
# Custom preprocessing.
image = self.preprocess(image)

return image, label
Expand Down

0 comments on commit 0c8dbe5

Please sign in to comment.