Code Monkey home page Code Monkey logo

Comments (3)

sachua avatar sachua commented on July 3, 2024

Hi James, example 4 is just to set the MinIO credentials for mlflow and if I'm not wrong boto3 as well so that they can access the MinIO S3 object store container that you spun up when running docker-compose up, so the MinIO server is actually running in your local machine and the artifacts are stored locally in minio_data.
If you want to use a local file path instead, I think you will have to change the --default-artifact-root flag, if you remove the flag it will default to ./mlruns directory inside the container, then you can mount a volume from your local machine to the ./mlruns directory, but in this case, you might as well just run mlflow in your local machine instead.
You can check out https://www.mlflow.org/docs/latest/tracking.html#id69 for more info on the artifact store.

from mlflow-docker-compose.

jamesee avatar jamesee commented on July 3, 2024

Hi SoongAnn,

Thank you very much for the prompt response.

I am testing out your repo, but faced the following errors when I execute example-(6). Do you know why it is complaining of " No module named 'sklearn.linear_model.coordinate_descent'"?

$ mlflow models serve -m s3://mlflow/0/7b9bfff0a71f425094d77bb33b2e5511/artifacts/model -p 1234

Screenshot 2021-12-28 at 15 18 41

Screenshot 2021-12-28 at 15 24 05

from mlflow-docker-compose.

sachua avatar sachua commented on July 3, 2024

I just tried it myself and it is working fine for me... not sure why it is not working for you, it might have something to do with your environment set up.. perhaps try running the mlflow model serve command from your mlflow environment and not the generated environment? If not I guess you could create an issue in the mlflow github for better guidance.

from mlflow-docker-compose.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.