Combiz Khozoie
01/23/2023, 5:25 PM@op(out={"model": Out(), "metrics": Out()})
def train(dm):
res = sc.run_training(dm)
model = res.get_model("logreg")
metrics = res.get_model_metrics("logreg")
return (
Output(model, output_name="model"),
Output(str(metrics), output_name="metrics"),
)
Zach
01/23/2023, 8:00 PM@op(out={"model": Out(), "metrics": Out()})
def train(dm):
res = sc.run_training(dm)
model = res.get_model("logreg")
metrics = res.get_model_metrics("logreg")
yield Output(model, output_name="model"),
yield Output(str(metrics), output_name="metrics")
Combiz Khozoie
01/24/2023, 1:29 PMHandled output "metrics" using IO manager "io_manager" path /workspaces/dagster-test/storage/train_results_brw
Handled output "model" using IO manager "io_manager" path /workspaces/dagster-test/storage/train_results_brw
I wonder if this is the issue, that both outputs are saved to the same path?sandy
01/27/2023, 4:31 PMCombiz Khozoie
01/27/2023, 4:34 PM