You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume I have following structure with autologging enabled:
with mlflow.start_run():
for i in range(100):
with mlflow.start_run(nested=True):
res = function(parameter=i) # The one I want to track
I now want to log the best run within the inner loop. I would imagine something like:
with mlflow.start_run() as outer_run:
for i in range(100):
with mlflow.start_run(nested=True):
res = function(parameter=i) # The one I want to track
outer_run.log_metric(best)
Is this achievable using mlflow? Ther eason is that I might need to end the run before the inner loop is finished. So logging it after the run is over is not an option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Let's assume I have following structure with autologging enabled:
I now want to log the best run within the inner loop. I would imagine something like:
Is this achievable using mlflow? Ther eason is that I might need to end the run before the inner loop is finished. So logging it after the run is over is not an option.
Beta Was this translation helpful? Give feedback.
All reactions