i dont know
Some checks failed
s444354-training/pipeline/head There was a failure building this commit
Some checks failed
s444354-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
4893c15bb5
commit
d3b41e9a96
@ -154,7 +154,8 @@ def evaluate(model, val_loader):
|
||||
return model.validation_epoch_end(outputs)
|
||||
|
||||
@ex.capture
|
||||
def fit(epochs, lr, model, train_loader, val_loader, _run, opt_func=torch.optim.SGD):
|
||||
def fit(epochs, lr, model, train_loader, val_loader, _log, opt_func=torch.optim.SGD):
|
||||
_log.info("log info test ")
|
||||
epochs=epochs
|
||||
history = []
|
||||
optimizer = opt_func(model.parameters(), lr)
|
||||
|
Loading…
Reference in New Issue
Block a user