veronhii commited on
Commit
ace4932
·
1 Parent(s): 5dc2040

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -11,7 +11,6 @@ with open("classlabel.txt", 'r') as file:
11
 
12
  def normalize_image(img):
13
  img = tf.image.random_flip_left_right(img)
14
- img = tf.image.random_rotation(img, 30)
15
  img = tf.cast(img, tf.float32) / 255.0
16
  img = tf.image.resize(img, (IMG_HEIGHT, IMG_WIDTH), method='bilinear')
17
  return img
 
11
 
12
  def normalize_image(img):
13
  img = tf.image.random_flip_left_right(img)
 
14
  img = tf.cast(img, tf.float32) / 255.0
15
  img = tf.image.resize(img, (IMG_HEIGHT, IMG_WIDTH), method='bilinear')
16
  return img