Skip to content

Commit

Permalink
code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
LostOxygen committed Jun 16, 2023
1 parent 34b51cb commit 39d7c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_eval/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def train_model(model: nn.Module, train_dataloader: IterableDataset,
model = model.to(device)
loss_fn = nn.BCELoss()
optimizer = optim.Adam(model.parameters(), lr=learning_rate, weight_decay=5e-4)
scheduler = ReduceLROnPlateau(optimizer, mode='min', factor=0.9, patience=5, verbose=True)
scheduler = ReduceLROnPlateau(optimizer, mode="min", factor=0.9, patience=5, verbose=True)


for epoch in range(0, epochs):
Expand Down

0 comments on commit 39d7c86

Please sign in to comment.