Skip to content

EgorOs/ml_refactoring_lecture

Repository files navigation

Lecture: Refactoring Jupyter notebook to Python project

The purpose of this live-coding series is to take a simple model trained in Jupyter notebook and refactor it into a nice Python project. We demonstrate how good coding practices can be applied in Deep Learning domain. These series are non-exhaustive and serve as an entrypoint for those who are curious about `MLOps` and `PytorchLightning`.

PytorchLightning Config: Hydra

Lecture recordings

Getting started

  1. Follow instructions to install Poetry:
    # Unix/MacOs installation
    curl -sSL https://install.python-poetry.org | python3 -
  2. Check that poetry was installed successfully:
    poetry --version
  3. Setup workspace:
    make setup_ws
  4. Setup ClearML:
    clearml-init
  5. Migrate dataset to your ClearML workspace:
    make migrate_dataset
  6. (Optional) Configure and run Jupyter lab:
    make jupyterlab_start

Train

make run_training

Useful resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published