Skip to content
This repository was archived by the owner on Jan 8, 2021. It is now read-only.

Commit 2a14459

Browse files
committed
Lowered batch size
1 parent 051f446 commit 2a14459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Train.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def train(EPOCH, dataloader, test_dataloader, optimizer, loss_function, network,
5151
",", default = 10)
5252
parser.add_argument('--epoch', '-e', type = int, dest = "EPOCH", help = "Epoch for training", default = 10)
5353
parser.add_argument('--batch_size', '-b', type = int, dest = "BATCH_SIZE", help = "Batch size for dataloader",
54-
default = 8192)
54+
default = 1024)
5555
parser.add_argument('--learning_rate', '-l', type = float, dest = "LR", help = "Learning rate", default = 0.001)
5656
parser.add_argument('--dataset', type = str, dest = "dataset", default = "cifar10", choices = ['cifar10', 'mnist'])
5757
parser.add_argument('--network', type = str, dest = "network", default = "mlp", choices = ['mlp', 'conv'])

0 commit comments

Comments
 (0)