CoolFace
Apppublic

caltech-animal-tracking/Primate_Detection_V2

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
App README

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Primate Detection

Setup

  1. 1.Clone this repository through your local terminal by entering:
shell
git lfs install 
git clone https://huggingface.co/spaces/caltech-animal-tracking/Primate_Detection_V2
  1. 1.Install the requirements using conda and pip.
shell
conda create -n primate python=3.12.7
conda activate primate
pip install -r requirements.txt
  1. 1.Change the environment variables to fit your system.

In ``app.py` change `BATCH_SIZE` and `CUDA_PATH` to reflect current CUDA version and the size of your GPU. You can find your CUDA version by navigating to `/usr/local`` on your computer. You may need to test a few different batch sizes to find one that works for your computer.

  1. 1.(Optional) Install FFmpeg if it's missing on your system by following the directions here.
  1. 1.Run ``app.py`` to load the interface.
shell
python app.py