Skip to content

Latest commit

 

History

History
62 lines (54 loc) · 2.33 KB

INSTALL.md

File metadata and controls

62 lines (54 loc) · 2.33 KB

Install

This project requires Python>=3.7.0 and PyTorch>=1.7.

Python version

To check your python version if you have already installed it, type the following in the command line or powershell for windows, or in the terminal for macOS.

python -V

If it does not recognise python as a command, this might be because you have not added python to your PATH variables, then please refer to this tutorial.

Install Python

If your python version does not match the requirements or you do not have python installed, please install Python 3.9 with this tutorial to help. (Make sure that you download an installer compatible with your operating system from the Python 3.9 webpage, check Add Python 3.9 to PATH when running the installer and installing pip in the optional features)

Install PyTorch

After you have python installed, install PyTorch.

pip install torch

If it does not recognise pip as a command, please refer to this tutorial.

You can check the PyTorch version.

python -c "import torch; print(torch.__version__)"

Install Git

Refer to this tutorial if you have not already installed git.

Install Project

Clone this repo and install requirements.txt.

git clone https://github.com/teethoe/BirdTracking  # clone
cd BirdTracking
pip install -r requirements.txt  # install

Take a note of the path for this project, this will be used for returning to work on the project.

pwd

Returning to work on the project

To work on this project, go to the project's directory by running the following command and replacing [project path]with the path returned from the previous pwd command.

cd {project path}

Git pull for project updates.

git pull