My Machine Learning Template.
poetry >= 1.2
- https://python-poetry.org/docs/#installation[How to install
poetry
.](How to installpoetry
.) curl -sSL https://install.python-poetry.org | python3 -
- https://python-poetry.org/docs/#installation[How to install
python v3.11.1
pyenv
will be useful.- https://github.com/pyenv/pyenv#installation[How to install
pyenv
.](How to installpyenv
.) curl https://pyenv.run | bash
git clone git@github.com:pysan3/MLTemplate.git && cd MLTemplate
- Do this before opening VSCode. (Will setup linter and formatter)
- Same commands on Windows as well.
# Setup local python
pyenv install 3.11.1
python -V # ==> Check python version is `3.11.1`
# Start poetry setup
poetry install
poetry shell # Activates poetry environment.
- Do you see
(mltemplate-py3.11)
before your$PS1
?
# Activate poetry environment
poetry shell
mlt --help
WIP