From 0320d4c57fee85c22aca45f6c2365587fea39419 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 21 Feb 2023 09:20:57 +0000 Subject: [PATCH 1/2] added a conda environment file to ease conda installation --- environment.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 environment.yml diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..a21373e --- /dev/null +++ b/environment.yml @@ -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 From 8f7020f72c19469fffe64805c52e4989a15f8c46 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Tue, 21 Feb 2023 09:22:50 +0000 Subject: [PATCH 2/2] updated README conda installation instructions --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b49d9ed..e24bf79 100644 --- a/README.md +++ b/README.md @@ -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