Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created February 4, 2020 10:37
Show Gist options
  • Save prateekjoshi565/b4bdc69472dada2f50c0e304d5b57018 to your computer and use it in GitHub Desktop.
Save prateekjoshi565/b4bdc69472dada2f50c0e304d5b57018 to your computer and use it in GitHub Desktop.
all_images = np.array(all_images)
# split data into train and validation data
train_x, val_x = train_test_split(all_images, random_state=32, test_size=0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment