Skip to content

OneDirection9/foundation

Repository files navigation

foundation

This repository serves as a template with configuration files for common python tools, including poetry, pre-commit, black, isort, etc.

Development setup

Conda

Recommend to use Miniconda to create a virtual environment:

$ conda create --name foundation python=3.9
# Answer yes to the prompt
$ conda activate foundation

Whenever you work on this you can activate the environment again using:

$ conda activate foundation

Poetry

The project is set up using the poetry dependency management tool.

For Linux, macOS, and Windows (WSL):

$ curl -sSL https://install.python-poetry.org | python3 -

An alternative way for macOS is:

$ brew install poetry

Installation

$ poetry install
# Initialize pre-commit hooks
$ pre-commit install

Run test cases with:

$ pytest -n 8

References

Collect some useful code snippets from following repositories with nicely modification:

  1. open-mmlab/mmcv
  2. facebookresearch/fvcore
  3. facebookresearch/detectron2

About

Foundations of deep learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published