Skip to content

Why use this template?#

Why should you use a template in the first place?#

For many good reasons, which are very well described here in a similar project! 😊

Other good reads:

Why use this template?#

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/     # Hydra configuration files
docs/            # documentation
conftest.py      # Test fixtures and utilities

Libraries used#

This project makes use of the following libraries:

  • Hydra is used to configure the project. It allows you to define configuration files and override them from the command line.
  • PyTorch Lightning is used to as the training framework. It provides a high-level interface to organize ML research code.
    • πŸ”₯ Please note: You can also use Jax with this repo, as described in the Jax example πŸ”₯
  • Weights & Biases is used to log metrics and visualize results.
  • pytest is used for testing.