update dllib-mlflow.py
This commit is contained in:
parent
851049fb38
commit
73bd0a68c7
@ -324,7 +324,8 @@ def my_main(epochs):
|
||||
|
||||
# save model
|
||||
torch.save(model, "games_model.pkl")
|
||||
return accuracy_score(labels_test_g, np.argmax(pred, axis=1))
|
||||
acc = accuracy_score(labels_test_g, np.argmax(pred, axis=1))
|
||||
return acc
|
||||
|
||||
|
||||
with mlflow.start_run() as run:
|
||||
|
Loading…
Reference in New Issue
Block a user