Skip to content

Instantly share code, notes, and snippets.

@amogkam
Created January 12, 2021 00:59
Show Gist options
  • Save amogkam/119475a0b6a3b4ead674af33466a69cc to your computer and use it in GitHub Desktop.
Save amogkam/119475a0b6a3b4ead674af33466a69cc to your computer and use it in GitHub Desktop.
from ray.tune.integration.mlflow import MLflowLoggerCallback
tune.run(
train_fn,
config={
# define search space here
"parameter_1": tune.choice([1, 2, 3]),
"parameter_2": tune.choice([4, 5, 6]),
},
callbacks=[MLflowLoggerCallback(
experiment_name="experiment1",
save_artifact=True)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment