Skip to content

Commit

Permalink
batchsize fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulysse Rancon committed Jan 13, 2022
1 parent 5434a00 commit b59f651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def set_random_seed(seed):
train_data_loader = torch.utils.data.DataLoader(dataset=train_set,
batch_size=batchsize,
shuffle=True,
drop_last=False,
drop_last=True,
pin_memory=True)

val_data_loader = torch.utils.data.DataLoader(dataset=val_set,
Expand Down

0 comments on commit b59f651

Please sign in to comment.