Skip to content

Instantly share code, notes, and snippets.

@khuangaf
Created May 28, 2019 14:47
Show Gist options
  • Save khuangaf/924ad4bc739c6684131f5226e182af19 to your computer and use it in GitHub Desktop.
Save khuangaf/924ad4bc739c6684131f5226e182af19 to your computer and use it in GitHub Desktop.
dataset = dataset.shuffle()
train_dataset = dataset[:800000]
val_dataset = dataset[800000:900000]
test_dataset = dataset[900000:]
len(train_dataset), len(val_dataset), len(test_dataset)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment