Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlflow uri not support error #487

Open
Ling-Jun opened this issue Feb 22, 2023 · 2 comments
Open

mlflow uri not support error #487

Ling-Jun opened this issue Feb 22, 2023 · 2 comments

Comments

@Ling-Jun
Copy link

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
Copy link
Author

so, there should be an if statement here identifying what type of uri it is, then giving the corresponding treatment. @CharlesAuthier

@CharlesAuthier
Copy link
Collaborator

You are wright I will took a proper look at it tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants