mirror of
https://github.com/macaodha/batdetect2.git
synced 2025-06-29 22:51:58 +02:00
Merge pull request #2 from macaodha/conda-dependencies-fix
Conda dependencies fix
This commit is contained in:
commit
e14da23004
@ -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).
|
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.
|
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:
|
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 activate batdetect2`
|
||||||
`conda install --file requirements.txt`
|
|
||||||
|
|
||||||
|
|
||||||
### Try the model
|
### Try the model
|
||||||
|
17
environment.yml
Normal file
17
environment.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user