____ ____ _ ____ _____ _ _
| _ \ / ___| / \ / ___|| ____| _ __ ___ ___ __| | ___| |___
| | | | | / _ \ \___ \| _| _____| '_ ` _ \ / _ \ / _` |/ _ \ / __|
| |_| | |___ / ___ \ ___) | |__|_____| | | | | | (_) | (_| | __/ \__ \
|____/ \____/_/ \_\____/|_____| |_| |_| |_|\___/ \__,_|\___|_|___/
DCASE-models is an open-source Python library for rapid prototyping of environmental sound analysis systems, with an emphasis on deep–learning models. The library has a flat and light design that allows easy extension and integration with other existing tools.
Documentation
See https://dcase_models.readthedocs.io for a complete reference manual and introductory tutorials.
Installation instructions
We recommend to install DCASE-models in a dedicated virtual environment. For instance, using anaconda:
conda create -n dcase python=3.6
conda activate dcase
For GPU support:
conda install cudatoolkit cudnn
DCASE-models uses SoX for functions related to the datasets. You can install it in your conda environment by:
conda install -c conda-forge sox
Before installing the library, you must install only one of the Tensorflow variants: CPU-only or GPU.
pip install "tensorflow<1.14" # for CPU-only version
pip install "tensorflow-gpu<1.14" # for GPU version
Then to install the package:
git clone https://github.com/pzinemanas/DCASE-models.git
cd DCASE-models
pip install .
To include visualization related dependencies, run the following instead:
pip install .[visualization]
Usage
There are several ways to use this library. In this repository, we accompany the library with three types of examples.
Note that the default parameters for each model, dataset and feature representation, are stored in
parameters.jsonon the root directory.
Python scripts
The folder scripts includes python scripts for data downloading, feature extraction, model training and testing, and fine-tuning. These examples show how to use DCASE-models within a python script.
Jupyter notebooks
The folder notebooks includes a list of notebooks that replicate scientific experiments using DCASE-models.
Web applications
The folder visualization includes a user interface to define, train and visualize the models defined in this library.
Go to DCASE-models folder and run:
python -m visualization.index
Then, open your browser and navigate to:
http://localhost:8050/
Metadata
Release files for DCASE-models 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DCASE-models-0.1.0.tar.gz | 53.5 kB | Details |
Release files / DCASE-models-0.1.0.tar.gz
| Download URL | DCASE-models-0.1.0.tar.gz |
|---|---|
| Size | 53.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0946b2f1d6f9c792a0aeb1b0bd9c3169baf659cfee1dc362f8df33c62a0a3ddb
|
|
BLAKE2b-256 checksum How to use checksums |
87e69bf214c6c994b248c7555ac22b2e14b9aeaed8d56ba2f67d50dfe44e47e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10
|