Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. x_train = x_train.astype('float32')/255 # As we are working on image data we are normalizing data by divinding 255.
  2. x_test = x_test.astype('float32')/255
  3. train_len=len(x_train)
  4. test_len=len(x_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement