Code Monkey home page Code Monkey logo

mlflow_tutorial's Introduction

Managing ML-lifecycle with MLflow

Installation

  1. Clone this repository using git or download using Github interface

  2. Install miniconda distribution for python 3.7 -> link

  3. Open Anaconda Prompt (Miniconda 3) navigate to the tutorial folder and install requirements:

    • Optional: you can create separate conda environment for this tutorial from environment file:
      conda env create -f conda.yaml
      
      conda activate mlflow-tutorial
      
    • Installing requirements from requirements.txt file:
      pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html
      
  4. Launch Jupyter Lab from from the tutorial directory:

    jupyter lab
    
  5. Launch MLflow server:

    mlflow server --backend-store-uri="sqlite:///C:\\path\\to\\project_folder\\backend\\mlflow_data.db" 
                  --default-artifact-root="file:///C:\\path\\to\\project_folder\\artifact_store\\"
    
    • Parameters:

      • backend-store-uri - URI to which to persist experiment and run data (sqlite database in our case).
      • default-artifact-root - Local or S3 URI to store artifacts, for new experiments (local folder in our case).
    • Hint: you can launch MLflow server also from terminal inside Jupyter Lab interface.

  6. Make sure that you can access mlflow server and jupyter notebook from your browser :

Note: There could be some minor changes in the dependencies and files, thus make sure to double-check prior to the event. Note: Tutorial functionality was tested on Windows 10.

Congrats! You are ready good to go!

mlflow_tutorial's People

Contributors

dependabot[bot] avatar

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.