Commit c0e803f5 authored by Anthony Larcher's avatar Anthony Larcher
Browse files

Refactoring

parent 25c4ac38
Diarization lib
+++++++++++++++
=============================
S4D - Sidekit For Diarization
=============================
| **S4D** is an open source package for speaker diarization.
| The aim of **S4D** is to provide an educational and efficient toolkit
| for speaker diarization including the whole chain of treatment
| that goes from the audio data to the analysis of the system performance.
PREREQUISITES
=============
*Sidekit for Diarization* requires the following software installed for your platform:
1. [Python](http://www.python.org)
2. [NumPy](http://www.numpy.org/)
3. [Scipy](http://http://www.scipy.org/)
4. [Pandas](http://http://www.pandas.org/)
5. [GLPK](https://www.gnu.org/software/glpk/)
6. [Sphinx 1.1.0 or newer](http://http://sphinx-doc.org/) to build the documentation
7. [SIDEKIT](https://lium.univ-lemans.fr/sidekit/)
INSTALLATION
============
We recommend the use of a virtual environment (e.g. [Miniconda](https://conda.io/miniconda.html) or [Virtualenv](https://virtualenv.readthedocs.io/en/latest/)).
TUTORIALS
=========
Once your installation is complete, you can take a look at the [tutorials](https://git-lium.univ-lemans.fr/Meignier/s4d/tree/master/tutorials).
:Authors:
Sylvain Meignier \&
Anthony Larcher \&
Pierre-Alexandre Broux \&
Florent Desnous
:Version: 0.5.0 of 2020/01/23
\ No newline at end of file
......@@ -65,6 +65,7 @@ class ModelIV:
self.ubm.read(self.model_filename, prefix='ubm/')
self.tv, self.tv_mean, self.tv_sigma = read_tv_hdf5(self.model_filename)
self.norm_mean, self.norm_cov = read_norm_hdf5(self.model_filename)
self.plda_mean, self.plda_f, self.plda_g, self.plda_sigma = read_plda_hdf5(self.model_filename)
def debug_model(self):
"""
......@@ -240,4 +241,4 @@ class ModelIV:
# scores = model_iv.score_cosine()
# if return_model:
# return scores, model_iv
# return scores
\ No newline at end of file
# return scores
......@@ -27,13 +27,13 @@ setup(
version=get_s4d_version(),
author='Sylvain MEIGNIER',
author_email='s4d@univ-lemans.fr',
packages=find_packages(),
packages=['s4d', 's4d.alien', 's4d.clustering', 's4d.gui'],
url='https://projets-lium.univ-lemans.fr/s4d/',
download_url='http://pypi.python.org/pypi/s4d/',
license='LGPL',
platforms=['Linux, Windows', 'MacOS'],
description='S4D: SIDEKIT for Diarization',
long_description=open('README.md').read(),
long_description=open('README.rst').read(),
install_requires=[
"mock>=1.0.1",
"nose>=1.3.4",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment