Guest User

Untitled

a guest
Dec 18th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. classes = ['dogs', 'cats']
  2. num_classes = len(classes)
  3.  
  4. train_path='training_data'
  5.  
  6. # validation split
  7. validation_size = 0.2
  8.  
  9. # batch size
  10. batch_size = 16
  11.  
  12. data = dataset.read_train_sets(train_path, img_size, classes, validation_size=validation_size)
Add Comment
Please, Sign In to add comment