Set learning rate to 10^-3
This commit is contained in:
parent
af59421dc0
commit
e8e4dcec83
2
train.py
2
train.py
|
@ -61,7 +61,7 @@ scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(
|
||||||
threshold=1e-8
|
threshold=1e-8
|
||||||
)
|
)
|
||||||
|
|
||||||
while total_change >= 1e-4:
|
while total_change >= 1e-3:
|
||||||
# Shuffle training data and convert to one-hot encoding
|
# Shuffle training data and convert to one-hot encoding
|
||||||
classes_dataset = classes_ordered[torch.randperm(len(classes_ordered))]
|
classes_dataset = classes_ordered[torch.randperm(len(classes_ordered))]
|
||||||
onehot_dataset = util.messages_to_onehot(classes_dataset, order)
|
onehot_dataset = util.messages_to_onehot(classes_dataset, order)
|
||||||
|
|
Loading…
Reference in New Issue