Refine train.
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 760 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 109 B |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -18,8 +18,8 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||||
|
|
||||||
# Hyper-parameters
|
# Hyper-parameters
|
||||||
num_epochs = 1
|
num_epochs = 1
|
||||||
batch_size = 256
|
batch_size = 128
|
||||||
learning_rate = 0.001
|
learning_rate = 0.2
|
||||||
|
|
||||||
transform = transforms.Compose([transforms.ToTensor()])
|
transform = transforms.Compose([transforms.ToTensor()])
|
||||||
|
|
||||||
|
|