Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ambuj Mehrish
sidekit
Commits
b86abfce
Commit
b86abfce
authored
Jan 23, 2021
by
Anthony Larcher
Browse files
v1.3.7
parent
8ea51326
Changes
31
Show whitespace changes
Inline
Side-by-side
__init__.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
"""
from
ctypes
import
*
...
...
@@ -183,11 +183,11 @@ if SIDEKIT_CONFIG["mpi"]:
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-201
20
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
__docformat__
=
'reStructuredText'
__version__
=
"1.3.
6.9
"
__version__
=
"1.3.
7
"
factor_analyser.py
View file @
b86abfce
...
...
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Sylvain Meignier and Anthony Larcher
Copyright 2014-20
2
1 Sylvain Meignier and Anthony Larcher
:mod:`factor_analyser` provides methods to train different types of factor analysers
...
...
@@ -42,7 +42,7 @@ from sidekit import STAT_TYPE
__license__
=
"LGPL"
__author__
=
"Anthony Larcher & Sylvain Meignier"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
features_extractor.py
View file @
b86abfce
...
...
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Sylvain Meignier and Anthony Larcher
Copyright 2014-202
1
Sylvain Meignier and Anthony Larcher
:mod:`features_server` provides methods to manage features
...
...
@@ -44,7 +44,7 @@ from .bosaris import IdMap
__license__
=
"LGPL"
__author__
=
"Anthony Larcher & Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
@@ -308,7 +308,7 @@ class FeaturesExtractor(object):
# Create the HDF5 file
# Create the directory if it dosn't exist
dir_name
=
os
.
path
.
dirname
(
feature_filename
)
# get the path
if
not
os
.
path
.
exists
(
dir_name
)
and
(
dir_name
is
not
''
):
if
not
os
.
path
.
exists
(
dir_name
)
and
not
(
dir_name
==
''
):
os
.
makedirs
(
dir_name
)
h5f
=
h5py
.
File
(
feature_filename
,
'a'
,
backing_store
=
backing_store
,
driver
=
'core'
)
...
...
@@ -496,7 +496,7 @@ class FeaturesExtractor(object):
feature_filename
=
feature_filename_structure
.
format
(
show
)
logging
.
info
(
'output finename: '
+
feature_filename
)
dir_name
=
os
.
path
.
dirname
(
feature_filename
)
# get the path
if
not
os
.
path
.
exists
(
dir_name
)
and
(
dir_name
is
not
''
):
if
not
os
.
path
.
exists
(
dir_name
)
and
not
(
dir_name
==
''
):
os
.
makedirs
(
dir_name
)
h5f
=
h5py
.
File
(
feature_filename
,
'a'
,
backing_store
=
True
,
driver
=
'core'
)
...
...
features_server.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Sylvain Meignier and Anthony Larcher
Copyright 2014-20
2
1 Sylvain Meignier and Anthony Larcher
:mod:`features_server` provides methods to manage features
...
...
@@ -41,7 +41,7 @@ from sidekit.sv_utils import parse_mask
__license__
=
"LGPL"
__author__
=
"Anthony Larcher & Sylvain Meignier"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
frontend/__init__.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
:mod:`frontend` provides methods to process an audio signal in order to extract
useful parameters for speaker verification.
...
...
@@ -66,7 +66,7 @@ from .features import shifted_delta_cepstral
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
frontend/features.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
:mod:`frontend` provides methods to process an audio signal in order to extract
useful parameters for speaker verification.
...
...
@@ -38,7 +38,7 @@ import numpy.matlib
PARAM_TYPE
=
numpy
.
float32
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
frontend/io.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
:mod:`frontend` provides methods to process an audio signal in order to extract
useful parameters for speaker verification.
...
...
@@ -46,7 +46,7 @@ from ..sidekit_wrappers import check_path_existance, process_parallel_lists
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
frontend/normfeat.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
:mod:`frontend` provides methods to process an audio signal in order to extract
useful parameters for speaker verification.
...
...
@@ -34,7 +34,7 @@ from scipy.signal import lfilter
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
frontend/vad.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
:mod:`frontend` provides methods to process an audio signal in order to extract
useful parameters for speaker verification.
...
...
@@ -35,7 +35,7 @@ from scipy import ndimage
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
gmm_scoring.py
View file @
b86abfce
...
...
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Anthony Larcher and Sylvain Meignier
Copyright 2014-20
2
1 Anthony Larcher and Sylvain Meignier
:mod:`features_server` provides methods to test gmm models
...
...
@@ -43,7 +43,7 @@ from sidekit.bosaris import Scores
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
iv_scoring.py
View file @
b86abfce
...
...
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Anthony Larcher and Sylvain Meignier
Copyright 2014-20
2
1 Anthony Larcher and Sylvain Meignier
:mod:`iv_scoring` provides methods to compare i-vectors
"""
...
...
@@ -40,7 +40,7 @@ if sys.version_info.major > 2:
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
jfa_scoring.py
View file @
b86abfce
...
...
@@ -21,7 +21,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Anthony Larcher and Sylvain Meignier
Copyright 2014-20
2
1 Anthony Larcher and Sylvain Meignier
:mod:`jfa_scoring` provides methods to score using JFA model
...
...
@@ -35,7 +35,7 @@ from sidekit.bosaris import Scores
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
libsvm/__init__.py
View file @
b86abfce
...
...
@@ -22,11 +22,11 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
"""
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
lid_utils.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-201
9
Anthony Larcher
Copyright 2014-20
2
1 Anthony Larcher
:mod:`lid_utils` provides utilities to perform Language identification.
"""
...
...
@@ -37,7 +37,7 @@ import sidekit.frontend
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-201
9
Anthony Larcher"
__copyright__
=
"Copyright 2014-20
2
1 Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
mixture.py
View file @
b86abfce
...
...
@@ -23,7 +23,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
:mod:`mixture` provides methods to manage Gaussian mixture models
...
...
@@ -42,7 +42,7 @@ import sys
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
nnet/__init__.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier
Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier
:mod:`nnet` provides methods to manage Neural Networks using PyTorch
"""
...
...
@@ -39,7 +39,7 @@ from .rawnet import prepare_voxceleb1, Vox1Set, PreEmphasis
from
.sincnet
import
SincNet
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
0
Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-202
1
Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
...
...
nnet/augmentation.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
"""
import
collections
...
...
@@ -34,6 +34,15 @@ import threading
import
pyroomacoustics
__author__
=
"Anthony Larcher and Sylvain Meignier"
__copyright__
=
"Copyright 2014-2021 Anthony Larcher and Sylvain Meignier"
__license__
=
"LGPL"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
__docformat__
=
'reStructuredText'
Noise
=
collections
.
namedtuple
(
'Noise'
,
'type file_id duration'
)
...
...
nnet/feed_forward.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
The authors would like to thank the BUT Speech@FIT group (http://speech.fit.vutbr.cz) and Lukas BURGET
...
...
@@ -45,7 +45,7 @@ from ..sidekit_wrappers import check_path_existance
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2015-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2015-202
1
Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
@@ -363,7 +363,7 @@ class FForwardNetwork():
# Create the directory if it doesn't exist
dir_name
=
os
.
path
.
dirname
(
output_file_structure
.
format
(
show
))
# get the path
if
not
os
.
path
.
exists
(
dir_name
)
and
(
dir_name
is
not
''
):
if
not
os
.
path
.
exists
(
dir_name
)
and
not
(
dir_name
==
''
):
os
.
makedirs
(
dir_name
)
# Save in HDF5 format, labels are saved if they don't exist in the output file
...
...
nnet/loss.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
"""
...
...
nnet/rawnet.py
View file @
b86abfce
...
...
@@ -22,7 +22,7 @@
# along with SIDEKIT. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2014-202
0
Anthony Larcher
Copyright 2014-202
1
Anthony Larcher
"""
import
logging
...
...
@@ -43,7 +43,7 @@ from torch.utils.data import Dataset
__license__
=
"LGPL"
__author__
=
"Anthony Larcher"
__copyright__
=
"Copyright 2015-202
0
Anthony Larcher"
__copyright__
=
"Copyright 2015-202
1
Anthony Larcher"
__maintainer__
=
"Anthony Larcher"
__email__
=
"anthony.larcher@univ-lemans.fr"
__status__
=
"Production"
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment