Skip to content

Alyetama/megadetector-v5-SLURM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Megadetector-v5 SLURM

Getting started

git clone 'https://github.com/Biodiversity-CatTracker2/megadetector-v5-SLURM.git'
git clone 'https://github.com/ultralytics/yolov5.git'

module load anaconda
conda create -n yolov5 python=3.8 --yes
conda activate yolov5
pip install -r yolov5/requirements.txt

Usage

cd megadetector-v5-SLURM
  • Edit download.sh to replace the placeholders, then run:
sbatch download.sh
  • When download is over, edit predict.sh to replace the placeholders, then run:
sbatch predict.sh
  • Get the <jobid>.err file and create a channel on notify.run, edit check.sh to replace the placeholders, then run:
sbatch check.sh

Notes

  • Remove --drive-shared-with-me from download.sh and predict.sh if the folder is not a shared folder.