add scared fileobserver
All checks were successful
s440058-training/pipeline/head This commit looks good
All checks were successful
s440058-training/pipeline/head This commit looks good
This commit is contained in:
parent
ff040678cc
commit
1841e9ea1a
@ -60,7 +60,6 @@ def script(num_epochs, batch_size, _run):
|
||||
output_dim = 1
|
||||
|
||||
model = LogisticRegressionModel(input_dim, output_dim)
|
||||
model.load_state_dict(torch.load('diabetes.pth'))
|
||||
|
||||
criterion = torch.nn.BCELoss(reduction='mean')
|
||||
optimizer = torch.optim.SGD(model.parameters(), lr = learning_rate)
|
||||
|
Loading…
Reference in New Issue
Block a user