update dllib-mlflow.py
This commit is contained in:
parent
777e10f0ef
commit
f8af56e2ca
@ -310,7 +310,7 @@ def my_main(epochs):
|
|||||||
loss.backward() # Gradients
|
loss.backward() # Gradients
|
||||||
optimizer.step() # Update
|
optimizer.step() # Update
|
||||||
|
|
||||||
mlflow.log_param("loss", loss.item)
|
mlflow.log_param("loss", loss.item())
|
||||||
|
|
||||||
# Prediction
|
# Prediction
|
||||||
x_test = Variable(torch.from_numpy(features_test_g)).float()
|
x_test = Variable(torch.from_numpy(features_test_g)).float()
|
||||||
|
Loading…
Reference in New Issue
Block a user