Merge pull request #2 from macaodha/conda-dependencies-fix

Conda dependencies fix
This commit is contained in:
Oisin Mac Aodha 2023-02-23 12:14:47 +00:00 committed by GitHub
commit e14da23004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 2 deletions

View File

@ -8,9 +8,8 @@ Code for detecting and classifying bat echolocation calls in high frequency audi
1) Install the Anaconda Python 3.10 distribution for your operating system from [here](https://www.continuum.io/downloads).
2) Download this code from the repository (by clicking on the green button on top right) and unzip it.
3) Create a new environment and install the required packages:
`conda create -y --name batdetect2 python==3.10`
`conda env create -f environment.yml`
`conda activate batdetect2`
`conda install --file requirements.txt`
### Try the model

17
environment.yml Normal file
View File

@ -0,0 +1,17 @@
name: batdetect2
channels:
- defaults
- conda-forge
- pytorch
- nvidia
dependencies:
- python==3.10
- matplotlib
- pandas
- scikit-learn
- numpy
- pytorch
- scipy
- torchvision
- librosa
- torchaudio