diff --git a/README.md b/README.md index 4df36f3..28e54f2 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Code for detecting and classifying bat echolocation calls in high frequency audi ### Try the model on Colab -Click [here](https://colab.research.google.com/github.com/macaodha/batdetect2/blob/master/batdetect2_notebook.ipynb) to run run the model using Colab. +Click [here](https://colab.research.google.com/github/macaodha/batdetect2/blob/master/batdetect2_notebook.ipynb) to run run the model using Colab. ### Running the model on your own data diff --git a/batdetect2_notebook.ipynb b/batdetect2_notebook.ipynb index 2097aea..6865490 100644 --- a/batdetect2_notebook.ipynb +++ b/batdetect2_notebook.ipynb @@ -6,7 +6,7 @@ "source": [ "# BatDetect2 - Demo\n", "\n", - "This notebook illustrates how to use Google Colab to run the bat detection code. Click [here](https://colab.research.google.com/github.com/macaodha/batdetect2/blob/master/batdetect2_notebook.ipynb) to run it on Colab. \n", + "This notebook illustrates how to use Google Colab to run the bat detection code. Click [here](https://colab.research.google.com/github/macaodha/batdetect2/blob/master/batdetect2_notebook.ipynb) to run it on Colab. \n", "\n", "Make sure to enable GPU usage on Colab for this Notebook to make it run faster. " ] @@ -17,8 +17,10 @@ "metadata": {}, "outputs": [], "source": [ - "# clone the code\n", - "#!git clone https://github.com/macaodha/batdetect2" + "# the following lines are only needed in Colab.\n", + "# clone the code and change directory\n", + "!git clone https://github.com/macaodha/batdetect2\n", + "%cd batdetect2" ] }, { @@ -30,7 +32,6 @@ "# import the necessary libraries\n", "import os\n", "import glob\n", - "import config\n", "import matplotlib.pyplot as plt\n", "\n", "import config\n", @@ -253,7 +254,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -267,7 +268,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.10" + "version": "3.8.8" } }, "nbformat": 4, diff --git a/example_data/audio/20170701_213954-MYOMYS-LR_0_0.5.wav b/example_data/audio/20170701_213954-MYOMYS-LR_0_0.5.wav new file mode 100755 index 0000000..2fe3d00 Binary files /dev/null and b/example_data/audio/20170701_213954-MYOMYS-LR_0_0.5.wav differ diff --git a/example_data/audio/20180530_213516-EPTSER-LR_0_0.5.wav b/example_data/audio/20180530_213516-EPTSER-LR_0_0.5.wav new file mode 100755 index 0000000..bf64b86 Binary files /dev/null and b/example_data/audio/20180530_213516-EPTSER-LR_0_0.5.wav differ diff --git a/example_data/audio/20180627_215323-RHIFER-LR_0_0.5.wav b/example_data/audio/20180627_215323-RHIFER-LR_0_0.5.wav new file mode 100755 index 0000000..bcee574 Binary files /dev/null and b/example_data/audio/20180627_215323-RHIFER-LR_0_0.5.wav differ