Upload 6 files
Browse files- .gitattributes +1 -0
- LICENCE.txt +8 -0
- README.md +59 -0
- yamnet_random/fingerprint.pb +3 -0
- yamnet_random/saved_model.pb +3 -0
- yamnet_random/variables/variables.data-00000-of-00001 +3 -0
- yamnet_random/variables/variables.index +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
yamnet_random/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text
|
LICENCE.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2025 HENRY ZHONG.
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 4 |
+
|
| 5 |
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| 6 |
+
|
| 7 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 8 |
+
|
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- audio
|
| 7 |
+
task_categories:
|
| 8 |
+
- audio-classification
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# YAMNet+
|
| 12 |
+
YAMNet+ is a model for audio classification. It is an enhanced fully open source version of YAMNet.
|
| 13 |
+
|
| 14 |
+
YAMNet+ requires YAMNet weights trained on AudioSet, which can be obtained [here](https://www.kaggle.com/models/google/yamnet).
|
| 15 |
+
|
| 16 |
+
Download the weights, extract archive and rename the model directory to ```yamnet_model```.
|
| 17 |
+
|
| 18 |
+
The models were trained on AHEAD-DS dataset.
|
| 19 |
+
|
| 20 |
+
The following code, dataset, and models are expected to be used together.
|
| 21 |
+
|
| 22 |
+
* [Code](https://github.com/Australian-Future-Hearing-Initiative/prism-ml/prism-ml-yamnet-tune)
|
| 23 |
+
* [Dataset AHEAD-DS](https://huggingface.co/datasets/hzhongresearch/ahead_ds)
|
| 24 |
+
* [Model](https://huggingface.co/hzhongresearch/yamnetp_ahead_ds)
|
| 25 |
+
|
| 26 |
+
## Description of models
|
| 27 |
+
|
| 28 |
+
| Model | Weight Initialisation | Learning Rate | Data Augmentation | Label Smoothing | Unfroze All Layers | Format | Notes |
|
| 29 |
+
|:--------------------------------------|:----------------------|---------------|-------------------|-----------------|--------------------------|-------------|-----------------------------------------------------------|
|
| 30 |
+
| yamnetp_ahead_ds_lr0.000001.keras | AudioSet | 0.000001 | Yes | Yes | Yes | Keras | |
|
| 31 |
+
| yamnetp_ahead_ds_lr0.000001.tflite | AudioSet | 0.000001 | Yes | Yes | Yes | TFLite | |
|
| 32 |
+
| yamnetp_ahead_ds_lr0.00001.keras | AudioSet | 0.00001 | Yes | Yes | Yes | Keras | |
|
| 33 |
+
| yamnetp_ahead_ds_lr0.00001.tflite | AudioSet | 0.00001 | Yes | Yes | Yes | TFLite | |
|
| 34 |
+
| yamnetp_ahead_ds_lr0.0001.keras | AudioSet | 0.0001 | Yes | Yes | Yes | Keras | |
|
| 35 |
+
| yamnetp_ahead_ds_lr0.0001.tflite | AudioSet | 0.0001 | Yes | Yes | Yes | TFLite | |
|
| 36 |
+
| yamnetp_ahead_ds_lr0.001.keras | AudioSet | 0.001 | Yes | Yes | Yes | Keras | |
|
| 37 |
+
| yamnetp_ahead_ds_lr0.001.tflite | AudioSet | 0.001 | Yes | Yes | Yes | TFLite | |
|
| 38 |
+
| yamnetp_ahead_ds_no_aug.keras | AudioSet | 0.00001 | No | Yes | Yes | Keras | |
|
| 39 |
+
| yamnetp_ahead_ds_no_aug.tflite | AudioSet | 0.00001 | No | Yes | Yes | TFLite | |
|
| 40 |
+
| yamnetp_ahead_ds_no_smooth.keras | AudioSet | 0.00001 | Yes | No | Yes | Keras | |
|
| 41 |
+
| yamnetp_ahead_ds_no_smooth.tflite | AudioSet | 0.00001 | Yes | No | Yes | TFLite | |
|
| 42 |
+
| yamnetp_ahead_ds_unfreeze_last.keras | AudioSet | 0.00001 | Yes | Yes | No | Keras | Only last layer unfrozen. |
|
| 43 |
+
| yamnetp_ahead_ds_unfreeze_last.tflite | AudioSet | 0.00001 | Yes | Yes | No | TFLite | Only last layer unfrozen. |
|
| 44 |
+
| yamnetp_ahead_ds_random.keras | Random weights | 0.00001 | Yes | Yes | Yes | Keras | |
|
| 45 |
+
| yamnetp_ahead_ds_random.tflite | Random weights | 0.00001 | Yes | Yes | Yes | TFLite | |
|
| 46 |
+
| yamnet_random | Random weights | 0.00001 | NA | NA | NA | Saved_model | Random weights used to intialise weights in other models. |
|
| 47 |
+
|
| 48 |
+
## Links
|
| 49 |
+
The code, data and paper can be downloaded from the following page.
|
| 50 |
+
|
| 51 |
+
```
|
| 52 |
+
https://hzhongresearch.github.io/
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Licence
|
| 56 |
+
Copyright 2025 HENRY ZHONG. Licenced under MIT. See [LICENCE.txt](LICENCE.txt).
|
| 57 |
+
|
| 58 |
+
YAMNet+ attribution.
|
| 59 |
+
|
yamnet_random/fingerprint.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdefe92a2b817fdc7c732a12147370334b96433ecd75d6d819c9ccd77730fee2
|
| 3 |
+
size 56
|
yamnet_random/saved_model.pb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d76b73b0138b3db478c8c9c4d543ea7026e4dddc36cbd81d499233272a5907f3
|
| 3 |
+
size 489199
|
yamnet_random/variables/variables.data-00000-of-00001
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e6b61ad8a094e7f6fa73ebe72912d991a192f6b2b23fc6366a082324a8372f3
|
| 3 |
+
size 15019771
|
yamnet_random/variables/variables.index
ADDED
|
Binary file (6.35 kB). View file
|
|
|