Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 01:51 AM
Hi @Retired_mod and thank you for your answer.
So I have run this piece of code from a Databricks notebook within my workspace.
Literally:
import os
# Consider I have the artifacts in "/dbfs/databricks/mlflow-tracking/<id>/<run_id>/artifacts/chain"
client = MlflowClient()
local_dir = "mydir"
os.makedirs(local_dir, exist_ok=True)
run_id = "<run_id>"
local_path = client.download_artifacts(run_id, "chain", local_dir)
print("Artifacts downloaded in: {}".format(local_dir))It runs OK, with the expected output:
Artifacts downloaded in: mydirThe question is, where was mydir created? I cannot find it anywhere (workspace, dbfs, volume...)
Thank you!