Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. x = (images.reshape(n_images, -1) - np.mean(images)) / np.std(images)
  2. y = bounding_boxes.reshape(n_images, -1) / img_size
  3. x_train, x_test, y_train, y_test = train_test_split(x, y, test_size = 0.33, random_state = 42)
  4. x.shape, y.shape
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement