fix unescaped data and output root directories
Browse files
README.md
CHANGED
@@ -3,9 +3,11 @@ license: cc-by-4.0
|
|
3 |
---
|
4 |
|
5 |
# ABGS Ecoacoustic Tagging Model
|
|
|
6 |
Model that tags audio files as belonging to one or more of the following labels: anthropophony (A), biophony (B), geophony (G), or silence (S).
|
7 |
|
8 |
## Installation
|
|
|
9 |
To use the model, you have to install autrainer, e.g. via pip:
|
10 |
|
11 |
```bash
|
@@ -13,7 +15,8 @@ pip install autrainer
|
|
13 |
```
|
14 |
|
15 |
## Usage
|
16 |
-
|
|
|
17 |
|
18 |
```python
|
19 |
autrainer inference hf:autrainer/edansa-2019-cnn10-32k-t <data-root> <output-root>
|
@@ -22,19 +25,25 @@ autrainer inference hf:autrainer/edansa-2019-cnn10-32k-t <data-root> <output-roo
|
|
22 |
## Training
|
23 |
|
24 |
### Pretraining
|
|
|
25 |
The model has been originally trained on AudioSet by Kong et. al..
|
26 |
|
27 |
### Dataset
|
|
|
28 |
The model has been further trained (finetuned) on the training set of the EDANSA2019 dataset. The dataset was collected in the North Slope of Alaskan at latitudes between 64◦ and 70◦ N, and longitudes between 139◦ to 150◦ W from a total of 40 devices, each placed in a different location, separated by ca. 20kM from other locations. A subset of the entire dataset has been annotated for 28 labels (tags), of which only the 4 highest level categories were used: anthropophony, biophony, geophony, and silence. The sampling rate was 48kHz.
|
29 |
|
30 |
### Features
|
|
|
31 |
The EDANSA2019 dataset was resampled to 32kHz, as this was the sampling rate of AudioSet, where the model was originally trained on. Log mel spectrograms were then extracted using torchlibrosa using the parameters that the upstream model was trained on.
|
32 |
|
33 |
### Training process
|
|
|
34 |
The model has been trained for 30 epochs. At the end of each epoch, the model was evaluated on the official validation set. We release the state that achieved the best performance on this validation set. All training hyperparameters can be found inside `conf/config.yaml` inside the model folder.
|
35 |
|
36 |
### Evaluation
|
|
|
37 |
The model has only been evaluated on in-domain data. The performance on the official test set reached a 0.9 (weighted) f1-score.
|
38 |
|
39 |
## Acknowledgments
|
40 |
-
|
|
|
|
3 |
---
|
4 |
|
5 |
# ABGS Ecoacoustic Tagging Model
|
6 |
+
|
7 |
Model that tags audio files as belonging to one or more of the following labels: anthropophony (A), biophony (B), geophony (G), or silence (S).
|
8 |
|
9 |
## Installation
|
10 |
+
|
11 |
To use the model, you have to install autrainer, e.g. via pip:
|
12 |
|
13 |
```bash
|
|
|
15 |
```
|
16 |
|
17 |
## Usage
|
18 |
+
|
19 |
+
The model can be applied on all wav files present in a folder (`<data-root>`) and stored in another folder (`<output-root>`):
|
20 |
|
21 |
```python
|
22 |
autrainer inference hf:autrainer/edansa-2019-cnn10-32k-t <data-root> <output-root>
|
|
|
25 |
## Training
|
26 |
|
27 |
### Pretraining
|
28 |
+
|
29 |
The model has been originally trained on AudioSet by Kong et. al..
|
30 |
|
31 |
### Dataset
|
32 |
+
|
33 |
The model has been further trained (finetuned) on the training set of the EDANSA2019 dataset. The dataset was collected in the North Slope of Alaskan at latitudes between 64◦ and 70◦ N, and longitudes between 139◦ to 150◦ W from a total of 40 devices, each placed in a different location, separated by ca. 20kM from other locations. A subset of the entire dataset has been annotated for 28 labels (tags), of which only the 4 highest level categories were used: anthropophony, biophony, geophony, and silence. The sampling rate was 48kHz.
|
34 |
|
35 |
### Features
|
36 |
+
|
37 |
The EDANSA2019 dataset was resampled to 32kHz, as this was the sampling rate of AudioSet, where the model was originally trained on. Log mel spectrograms were then extracted using torchlibrosa using the parameters that the upstream model was trained on.
|
38 |
|
39 |
### Training process
|
40 |
+
|
41 |
The model has been trained for 30 epochs. At the end of each epoch, the model was evaluated on the official validation set. We release the state that achieved the best performance on this validation set. All training hyperparameters can be found inside `conf/config.yaml` inside the model folder.
|
42 |
|
43 |
### Evaluation
|
44 |
+
|
45 |
The model has only been evaluated on in-domain data. The performance on the official test set reached a 0.9 (weighted) f1-score.
|
46 |
|
47 |
## Acknowledgments
|
48 |
+
|
49 |
+
Please acknowledge the work which produced the original model and the EDANSA2019 dataset. We would also appreciate an acknowledgment to autrainer.
|