__init__.py 2.12 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
37
38
39
40
41
42
43
44
from .xvector import Xtractor
from .xvector import xtrain
from .xvector import extract_embeddings
from .pooling import MeanStdPooling
from .pooling import AttentivePooling
from .pooling import GruPooling
from .res_net import ResBlock
from .res_net import PreResNet34
from .res_net import PreFastResNet34
Anthony Larcher's avatar
Anthony Larcher committed
45
from .res_net import PreHalfResNet34
Anthony Larcher's avatar
Anthony Larcher committed
46
from .sincnet import SincNet
Anthony Larcher's avatar
debug    
Anthony Larcher committed
47
48
49
from .preprocessor import RawPreprocessor
from .preprocessor import MfccFrontEnd 
from .preprocessor import MelSpecFrontEnd
Anthony Larcher's avatar
Anthony Larcher committed
50

Anthony Larcher's avatar
Anthony Larcher committed
51
52
53
54
55
56
57
58
59
60
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
61
__author__ = "Anthony Larcher and Sylvain Meignier"
Anthony Larcher's avatar
v1.3.7    
Anthony Larcher committed
62
__copyright__ = "Copyright 2014-2021 Anthony Larcher and Sylvain Meignier"
Anthony Larcher's avatar
Anthony Larcher committed
63
64
65
66
67
__license__ = "LGPL"
__maintainer__ = "Anthony Larcher"
__email__ = "anthony.larcher@univ-lemans.fr"
__status__ = "Production"
__docformat__ = 'reStructuredText'