Software, algorithms and research related to the Automated Monitoring of Insects using deep learning and other machine learning methods.
Poetry is used to manage the dependencies common to all scripts and sub-projects. Some sub-projects may manage their own dependencies if necessary.
- Install Poetry
- Clone this repository
- Run
poetry install
in the root of the repository - Install pre-commit hooks
poetry run pre-commit install
Activate the virtual environment before running scripts
poetry shell
Example for running a script (in the poetry shell):
python src/localization/inference_localization.py \
--data_dir ~/TRAPIMAGES/Sample/ \
--ckpt_path ~/Downloads/fasterrcnn_mobilenet_v3_large_fpn_uqfh7u9w.pt \
--model_type fasterrcnn_mobilenet_v3_large_fpn
Alternatively, one can run the scripts without activating poetry's shell:
poetry run python <script>