mila-iqia / ResearchTemplate

WIP: Research Template Repository
5 stars 1 forks source link

Research Project Template

Build codecov hydra license

Please note: This is a Work-in-Progress. The goal is to make a first release by the end of summer 2024.

This is a template repository for a research project in machine learning. It is meant to be a starting point for new ML researchers that run jobs on SLURM clusters. The main target audience is Mila researchers and students, but this should still be useful to anyone that uses PyTorch-Lightning with Hydra.

For more context, see this introduction to the project..

Overview

This project makes use of the following libraries:

Why use this template?

Why should you use this template (instead of another)?

Here are some of the advantages to using this template compared to some of the other templates out there:

Usage

To see all available options:

python project/main.py --help

For a detailed list of examples, see the examples page.

Project layout

pyproject.toml   # Project metadata and dependencies
project/
    main.py      # main entry-point
    algorithms/  # learning algorithms
    datamodules/ # datasets, processing and loading
    networks/    # Neural networks used by algorithms
    configs/     # configuration files
docs/            # documentation
conftest.py      # Test fixtures and utilities