Created
April 13, 2020 10:23
-
-
Save miki998/a264f63d7558d30b8d16936c4a61e2b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# batch_size, epoch and iteration | |
batch_size = 100 | |
# Pytorch train and test sets | |
train = torch.utils.data.TensorDataset(train_x,y_train) | |
test = torch.utils.data.TensorDataset(X_cv,y_cv) | |
# data loader | |
train_loader = torch.utils.data.DataLoader(train, batch_size = batch_size, shuffle = False) | |
test_loader = torch.utils.data.DataLoader(test, batch_size = batch_size, shuffle = False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment