geo-deep-learning icon indicating copy to clipboard operation
geo-deep-learning copied to clipboard

mlflow uri not support error

Open Ling-Jun opened this issue 2 years ago • 2 comments

If we set custom local dir as mlflow.yaml's uri, it will raise an exception. 1 The culprit is mlflow.set_tracking_uri() function. 2 We can fix it by identifying uri being a local path or web URL, if it is a local dir path, we need to add file:/ prefix, as specified here: https://mlflow.org/docs/latest/python_api/mlflow.html#mlflow.set_tracking_uri

3

Ling-Jun avatar Feb 22 '23 19:02 Ling-Jun