__init__.py 1.99 KB
Newer Older
Anthony Larcher's avatar
Anthony Larcher committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
#
# This file is part of SIDEKIT.
#
# SIDEKIT is a python package for speaker verification.
# Home page: http://www-lium.univ-lemans.fr/sidekit/
#
# SIDEKIT is a python package for speaker verification.
# Home page: http://www-lium.univ-lemans.fr/sidekit/
#
# SIDEKIT is free software: you can redistribute it and/or modify
# it under the terms of the GNU LLesser General Public License as
# published by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# SIDEKIT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEKIT.  If not, see <http://www.gnu.org/licenses/>.

"""
Anthony Larcher's avatar
v1.3.7    
Anthony Larcher committed
25
Copyright 2014-2021 Anthony Larcher and Sylvain Meignier
Anthony Larcher's avatar
Anthony Larcher committed
26

27
:mod:`nnet` provides methods to manage Neural Networks using PyTorch
Anthony Larcher's avatar
Anthony Larcher committed
28
"""
Anthony Larcher's avatar
Anthony Larcher committed
29

Anthony Larcher's avatar
Anthony Larcher committed
30

Anthony Larcher's avatar
Anthony Larcher committed
31
32
from .feed_forward import FForwardNetwork
from .feed_forward import kaldi_to_hdf5
Anthony Larcher's avatar
debug    
Anthony Larcher committed
33
from .xsets import IdMapSetPerSpeaker
Anthony Larcher's avatar
Anthony Larcher committed
34
35
from .xsets import SideSet
from .xsets import SideSampler
Anthony Larcher's avatar
Anthony Larcher committed
36
from .xvector import Xtractor, xtrain, extract_embeddings, extract_sliding_embedding, MeanStdPooling
Anthony Larcher's avatar
debug    
Anthony Larcher committed
37
from .res_net import ResBlock, PreResNet34
Anthony Larcher's avatar
Anthony Larcher committed
38
from .rawnet import prepare_voxceleb1, Vox1Set, PreEmphasis
Anthony Larcher's avatar
Anthony Larcher committed
39
from .sincnet import SincNet
Anthony Larcher's avatar
debug    
Anthony Larcher committed
40
41
42
from .preprocessor import RawPreprocessor
from .preprocessor import MfccFrontEnd 
from .preprocessor import MelSpecFrontEnd
Anthony Larcher's avatar
Anthony Larcher committed
43

Anthony Larcher's avatar
Anthony Larcher committed
44
45
46
47
48
49
50
51
52
53
has_pyroom = True
try:
   import pyroomacoustics
except ImportError:
   has_pyroom = False

if has_pyroom:
    from .augmentation import AddReverb


Anthony Larcher's avatar
Anthony Larcher committed
54
__author__ = "Anthony Larcher and Sylvain Meignier"
Anthony Larcher's avatar
v1.3.7    
Anthony Larcher committed
55
__copyright__ = "Copyright 2014-2021 Anthony Larcher and Sylvain Meignier"
Anthony Larcher's avatar
Anthony Larcher committed
56
57
58
59
60
__license__ = "LGPL"
__maintainer__ = "Anthony Larcher"
__email__ = "anthony.larcher@univ-lemans.fr"
__status__ = "Production"
__docformat__ = 'reStructuredText'