Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.48 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.48 KB

bachelor-oppgave-nina

Group members

CI

Requirements

I recommend adding poetry to your PATH. Add %APPDATA%\Python\Scripts on windows.

poetry config virtualenvs.in-project true --local if you want the virtual environment to be created in .venv at the root of the project

poetry install to install project dependencies

Windows: poetry run poe torch-cuda to install torch with cuda.

pre-commit install to install pre-commit hooks.

pre-commit install --hook-type commit-msg to install commitlint hook.

See the commitlint config: https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional

Run using Docker

docker compose --profile prod build
docker compose --profile prod run --rm app

Note: Before running the project, you will need to pull the large files (model weights) using Git LFS. Run git lfs pull to download the files.