Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IIP-Sogang/olkavs-avspeech
/ types & classes
Types & classes
60 in github.com/IIP-Sogang/olkavs-avspeech
⨍
Functions
234
◇
Types & classes
60
↓ 10 callers
Class
Linear
Wrapper class of torch.nn.Linear Weight initialize by xavier initialization and bias initialize to zeros.
avsr/models/conformer/modules.py:36
↓ 4 callers
Class
ResidualConnectionModule
Residual Connection Module. outputs = (module(inputs) x module_factor + inputs x input_factor)
avsr/models/conformer/modules.py:21
↓ 3 callers
Class
AVcollator
dataset/dataset.py:368
↓ 2 callers
Class
Attention_Loss
avsr/utils/loss.py:48
↓ 2 callers
Class
CTC_Loss
avsr/utils/loss.py:32
↓ 2 callers
Class
CharacterErrorRate
avsr/utils/metric.py:121
↓ 2 callers
Class
ConformerEncoder
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 callers
Class
Conformer_back
input : (BxLxD) output : (BxLxD)
avsr/models/conformer/conformer_backend.py:7
↓ 2 callers
Class
DistributedCurriculumSampler
dataset/sampler.py:8
↓ 2 callers
Class
FeedForwardModule
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 callers
Class
FilterBank
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 callers
Class
KsponSpeechVocabulary
vocabulary/utils.py:155
↓ 2 callers
Class
MelSpectrogram
dataset/feature.py:68
↓ 2 callers
Class
PointwiseConv1d
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 callers
Class
Swish
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 callers
Class
AV_Dataset
dataset/dataset.py:164
↓ 1 callers
Class
AbstractScheduler
avsr/scheduler/abstract.py:1
↓ 1 callers
Class
AudioConformerEncoder
avsr/models/encoder.py:50
↓ 1 callers
Class
BabbleNoise
dataset/augment.py:50
↓ 1 callers
Class
ConformerBlock
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 callers
Class
ConformerConvModule
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 callers
Class
Conv2dSubampling
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 callers
Class
DecoderRNNT
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 callers
Class
DepthwiseConv1d
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 callers
Class
GLU
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 callers
Class
Hybrid_Loss
Inputs : outputs : tuple ( tensor (BxSxE), tensor (BxLxE) ) targets : tensor (BxS)
avsr/utils/loss.py:5
↓ 1 callers
Class
LinearDecoder
Inputs : (B x S x E), (B x T x E)
avsr/models/decoder.py:144
↓ 1 callers
Class
MLPLayer
avsr/models/medium.py:6
↓ 1 callers
Class
Metric
avsr/utils/metric.py:7
↓ 1 callers
Class
MultiHeadedSelfAttentionModule
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 callers
Class
NoamLR
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 callers
Class
PositionalEncoding
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 callers
Class
RelativeMultiHeadAttention
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 callers
Class
ResidualCell
avsr/models/resnet/resnet.py:18
↓ 1 callers
Class
ResidualCell2d
avsr/models/resnet/resnet.py:41
↓ 1 callers
Class
Resnet1D_front
input : (BxCxL) output : (BxDxL`) L`:= length of audio sequence with 30 Hz
avsr/models/resnet/resnet.py:64
↓ 1 callers
Class
Resnet2D_front
input : (BxCxLxHxW) output : (BxLxD)
avsr/models/resnet/resnet.py:93
↓ 1 callers
Class
Scheduler
avsr/scheduler/schedulers.py:5
↓ 1 callers
Class
SearchSequence
avsr/utils/search.py:30
↓ 1 callers
Class
SpaceWordErrorRate
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 callers
Class
SpecAugment
dataset/augment.py:23
↓ 1 callers
Class
SubsetSampler
inference.py:18
↓ 1 callers
Class
TransformerDecoder
Inputs : (B x S x E), (B x T x E)
avsr/models/decoder.py:38
↓ 1 callers
Class
Transpose
Wrapper class of torch.transpose() for Sequential module.
avsr/models/conformer/modules.py:67
↓ 1 callers
Class
VisualConformerEncoder
avsr/models/encoder.py:76
↓ 1 callers
Class
WordErrorRate
Computes the Word Error Rate, defined as the edit distance between the two provided sentences after tokenizing to words.
avsr/utils/metric.py:143
Class
AttentionModel
avsr/models/model.py:56
Class
CTCModel
avsr/models/model.py:80
Class
Conformer
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
Class
EncoderDecoderModel
avsr/models/model.py:8
Class
ErrorRate
Provides inteface of error rate calcuation. Note: Do not use this class directly, use one of the sub classes.
avsr/utils/metric.py:47
Class
FusionConformerEncoder
avsr/models/encoder.py:12
Class
HybridDecoder
avsr/models/decoder.py:11
Class
HybridModel
avsr/models/model.py:32
Class
KsponSpeechVocabulary
avsr/utils/korean_funcs.py:156
Class
MFCC
Create the Mel-frequency cepstrum coefficients (MFCCs) from an audio signal. Args: sample_rate (int): Sample rate of audio signal.
dataset/feature.py:101
Class
Spectrogram
Create a spectrogram from a audio signal. Args: sample_rate (int): Sample rate of audio signal. (Default: 16000) frame_le
dataset/feature.py:13
Class
View
Wrapper class of torch.view() for Sequential module.
avsr/models/conformer/modules.py:53
Class
Vocabulary
Note: Do not use this class directly, use one of the sub classes.
avsr/utils/korean_funcs.py:141
Class
Vocabulary
Note: Do not use this class directly, use one of the sub classes.
vocabulary/utils.py:140