MCPcopy Create free account

hub / github.com/IIP-Sogang/olkavs-avspeech / types & classes

Types & classes60 in github.com/IIP-Sogang/olkavs-avspeech

↓ 10 callersClassLinear
Wrapper class of torch.nn.Linear Weight initialize by xavier initialization and bias initialize to zeros.
avsr/models/conformer/modules.py:36
↓ 4 callersClassResidualConnectionModule
Residual Connection Module. outputs = (module(inputs) x module_factor + inputs x input_factor)
avsr/models/conformer/modules.py:21
↓ 3 callersClassAVcollator
dataset/dataset.py:368
↓ 2 callersClassAttention_Loss
avsr/utils/loss.py:48
↓ 2 callersClassCTC_Loss
avsr/utils/loss.py:32
↓ 2 callersClassCharacterErrorRate
avsr/utils/metric.py:121
↓ 2 callersClassConformerEncoder
Conformer encoder first processes the input with a convolution subsampling layer and then with a number of conformer blocks. Args:
avsr/models/conformer/encoder.py:119
↓ 2 callersClassConformer_back
input : (BxLxD) output : (BxLxD)
avsr/models/conformer/conformer_backend.py:7
↓ 2 callersClassDistributedCurriculumSampler
dataset/sampler.py:8
↓ 2 callersClassFeedForwardModule
Conformer Feed Forward Module follow pre-norm residual units and apply layer normalization within the residual unit and on the input before t
avsr/models/conformer/feed_forward.py:23
↓ 2 callersClassFilterBank
Create a fbank from a raw audio signal. This matches the input/output of Kaldi’s compute-fbank-feats Args: sample_rate (int): Samp
dataset/feature.py:162
↓ 2 callersClassKsponSpeechVocabulary
vocabulary/utils.py:155
↓ 2 callersClassMelSpectrogram
dataset/feature.py:68
↓ 2 callersClassPointwiseConv1d
When kernel size == 1 conv1d, this operation is termed in literature as pointwise convolution. This operation often used to match dimensions.
avsr/models/conformer/convolution.py:68
↓ 2 callersClassSwish
Swish is a smooth, non-monotonic function that consistently matches or outperforms ReLU on deep networks applied to a variety of challenging
avsr/models/conformer/activation.py:19
↓ 1 callersClassAV_Dataset
dataset/dataset.py:164
↓ 1 callersClassAbstractScheduler
avsr/scheduler/abstract.py:1
↓ 1 callersClassAudioConformerEncoder
avsr/models/encoder.py:50
↓ 1 callersClassBabbleNoise
dataset/augment.py:50
↓ 1 callersClassConformerBlock
Conformer block contains two Feed Forward modules sandwiching the Multi-Headed Self-Attention module and the Convolution module. This sandwic
avsr/models/conformer/encoder.py:32
↓ 1 callersClassConformerConvModule
Conformer convolution module starts with a pointwise convolution and a gated linear unit (GLU). This is followed by a single 1-D depthwise co
avsr/models/conformer/convolution.py:108
↓ 1 callersClassConv2dSubampling
Convolutional 2D subsampling (to 1/4 length) Args: in_channels (int): Number of channels in the input image out_channels (in
avsr/models/conformer/convolution.py:152
↓ 1 callersClassDecoderRNNT
Decoder of RNN-Transducer Args: num_classes (int): number of classification hidden_state_dim (int, optional): hidden state d
avsr/models/conformer/decoder.py:22
↓ 1 callersClassDepthwiseConv1d
When groups == in_channels and out_channels == K * in_channels, where K is a positive integer, this operation is termed in literature as dept
avsr/models/conformer/convolution.py:24
↓ 1 callersClassGLU
The gating mechanism is called Gated Linear Units (GLU), which was first introduced for natural language processing in the paper “Language Mo
avsr/models/conformer/activation.py:31
↓ 1 callersClassHybrid_Loss
Inputs : outputs : tuple ( tensor (BxSxE), tensor (BxLxE) ) targets : tensor (BxS)
avsr/utils/loss.py:5
↓ 1 callersClassLinearDecoder
Inputs : (B x S x E), (B x T x E)
avsr/models/decoder.py:144
↓ 1 callersClassMLPLayer
avsr/models/medium.py:6
↓ 1 callersClassMetric
avsr/utils/metric.py:7
↓ 1 callersClassMultiHeadedSelfAttentionModule
Conformer employ multi-headed self-attention (MHSA) while integrating an important technique from Transformer-XL, the relative sinusoidal pos
avsr/models/conformer/attention.py:129
↓ 1 callersClassNoamLR
Noam learning rate scheduler with piecewise linear increase and exponential decay. The learning rate increases linearly from init_lr to max
avsr/scheduler/noam.py:6
↓ 1 callersClassPositionalEncoding
Positional Encoding proposed in "Attention Is All You Need". Since transformer contains no recurrence and no convolution, in order for the mo
avsr/models/conformer/embedding.py:21
↓ 1 callersClassRelativeMultiHeadAttention
Multi-head attention with relative positional encoding. This concept was proposed in the "Transformer-XL: Attentive Language Models Beyond a
avsr/models/conformer/attention.py:26
↓ 1 callersClassResidualCell
avsr/models/resnet/resnet.py:18
↓ 1 callersClassResidualCell2d
avsr/models/resnet/resnet.py:41
↓ 1 callersClassResnet1D_front
input : (BxCxL) output : (BxDxL`) L`:= length of audio sequence with 30 Hz
avsr/models/resnet/resnet.py:64
↓ 1 callersClassResnet2D_front
input : (BxCxLxHxW) output : (BxLxD)
avsr/models/resnet/resnet.py:93
↓ 1 callersClassScheduler
avsr/scheduler/schedulers.py:5
↓ 1 callersClassSearchSequence
avsr/utils/search.py:30
↓ 1 callersClassSpaceWordErrorRate
Computes the Word Error Rate, defined as the edit distance between the two provided sentences after tokenizing to words.
avsr/utils/metric.py:175
↓ 1 callersClassSpecAugment
dataset/augment.py:23
↓ 1 callersClassSubsetSampler
inference.py:18
↓ 1 callersClassTransformerDecoder
Inputs : (B x S x E), (B x T x E)
avsr/models/decoder.py:38
↓ 1 callersClassTranspose
Wrapper class of torch.transpose() for Sequential module.
avsr/models/conformer/modules.py:67
↓ 1 callersClassVisualConformerEncoder
avsr/models/encoder.py:76
↓ 1 callersClassWordErrorRate
Computes the Word Error Rate, defined as the edit distance between the two provided sentences after tokenizing to words.
avsr/utils/metric.py:143
ClassAttentionModel
avsr/models/model.py:56
ClassCTCModel
avsr/models/model.py:80
ClassConformer
Conformer: Convolution-augmented Transformer for Speech Recognition The paper used a one-lstm Transducer decoder, currently still only implem
avsr/models/conformer/model.py:24
ClassEncoderDecoderModel
avsr/models/model.py:8
ClassErrorRate
Provides inteface of error rate calcuation. Note: Do not use this class directly, use one of the sub classes.
avsr/utils/metric.py:47
ClassFusionConformerEncoder
avsr/models/encoder.py:12
ClassHybridDecoder
avsr/models/decoder.py:11
ClassHybridModel
avsr/models/model.py:32
ClassKsponSpeechVocabulary
avsr/utils/korean_funcs.py:156
ClassMFCC
Create the Mel-frequency cepstrum coefficients (MFCCs) from an audio signal. Args: sample_rate (int): Sample rate of audio signal.
dataset/feature.py:101
ClassSpectrogram
Create a spectrogram from a audio signal. Args: sample_rate (int): Sample rate of audio signal. (Default: 16000) frame_le
dataset/feature.py:13
ClassView
Wrapper class of torch.view() for Sequential module.
avsr/models/conformer/modules.py:53
ClassVocabulary
Note: Do not use this class directly, use one of the sub classes.
avsr/utils/korean_funcs.py:141
ClassVocabulary
Note: Do not use this class directly, use one of the sub classes.
vocabulary/utils.py:140