MCPcopy Create free account

hub / github.com/espnet/espnet / functions

Functions9,880 in github.com/espnet/espnet

↓ 5 callersFunctionget_from_frame_detection
(frame_i, target_id)
egs2/misp2021/avsr1/local/prepare_far_video_roi.py:66
↓ 5 callersMethodget_keys
Returns keys1 e.g. train,eval.
espnet2/train/reporter.py:461
↓ 5 callersFunctionget_master_port
(prior=None)
espnet2/train/distributed_utils.py:328
↓ 5 callersFunctionget_node_rank
Get Node Rank. Use for "multiprocessing distributed" mode. The initial RANK equals to the Node id in this case and the real Rank is set a
espnet2/train/distributed_utils.py:335
↓ 5 callersMethodget_parameters
(self)
espnet2/tts/feats_extract/dio.py:72
↓ 5 callersFunctionget_rtf
Calculate the relative transfer function (RTF). Args: psd_speech (torch.complex64): speech covariance matrix (..., F, C, C)
espnet2/enh/layers/beamformer_th.py:157
↓ 5 callersMethodhandle_ASR_selection
Handles the selection and initialization of ASR model. This method dynamically loads the selected ASR based on the provided option.
espnet2/sds/espnet_model.py:144
↓ 5 callersMethodhandle_LLM_selection
Handles the selection and initialization of a LLM. This method dynamically loads the selected LLM based on the provided option.
espnet2/sds/espnet_model.py:120
↓ 5 callersMethodhandle_TTS_selection
Handles the selection and initialization of a Text-to-Speech (TTS) model. This method dynamically loads the selected TTS model based
espnet2/sds/espnet_model.py:92
↓ 5 callersMethodhandle_type_selection
Handles the selection of the spoken dialogue model type (Cascaded or E2E) and dynamically updates the interface based on the selected option.
espnet2/sds/espnet_model.py:192
↓ 5 callersFunctioninfer_artifact_type
Infer the default artifact type from a Python value.
espnet3/utils/writer_utils.py:172
↓ 5 callersMethodinference
Generate the sequence of features given the sequences of characters. Args: text (LongTensor): Input sequence of characters (T_tex
espnet2/tts/prodiff/prodiff.py:704
↓ 5 callersMethodinit_options
(self)
espnet2/train/distributed_utils.py:29
↓ 5 callersMethodinit_state
Initialize tmp state.
espnet2/legacy/nets/scorers/ngram.py:30
↓ 5 callersMethodinit_torch_distributed
(self)
espnet2/train/distributed_utils.py:87
↓ 5 callersMethodinvert
Convert mel to Hz.
espnet2/layers/sinc_conv.py:197
↓ 5 callersFunctionis_scipy_wav_style
Check if value is a tuple or not.
espnet2/legacy/utils/cli_utils.py:47
↓ 5 callersFunctionistft
Process invert stft.
espnet2/legacy/transform/spectrogram.py:44
↓ 5 callersMethodlca
(self, iso1, iso2)
egs2/ml_superb/asr1/local/linguistic_tree.py:118
↓ 5 callersMethodlist2file
(self, outfile, list_data)
egs2/dsing/asr1/local/data_prep.py:74
↓ 5 callersFunctionload
(*args, **kwargs)
test/espnet2/speechlm/model/conftest.py:119
↓ 5 callersFunctionload_audio
(path)
espnet2/sds/end_to_end/mini_omni/inference.py:155
↓ 5 callersFunctionload_line
Load lines from a text file and return as a list of strings. This function is used as a custom resolver in OmegaConf, allowing YAML files to
espnet3/utils/config_utils.py:17
↓ 5 callersFunctionload_pretrained_model
Load a model state and set it to the model. Args: init_param: <file_path>:<src_key>:<dst_key>:<exclude_Keys> Examples: >>> l
espnet2/torch_utils/load_pretrained_model.py:39
↓ 5 callersFunctionlog_component
Log a component instance with class info, repr, and attributes. Description: Emits a structured log block for a single object. The block
espnet3/utils/logging_utils.py:871
↓ 5 callersFunctionmake_dataloader_cfg
( use_custom_collate: bool = True, multiple_iterator: bool = False, num_shards: int = 2, )
test/espnet3/components/data/test_collect_stats.py:196
↓ 5 callersFunctionmake_dataset_cfg
( n_train=8, n_valid=5, base_len=3, dim=4, use_espnet_preprocessor=False )
test/espnet3/components/data/test_collect_stats.py:181
↓ 5 callersFunctionmake_model_cfg
(scale: float = 1.0)
test/espnet3/components/data/test_collect_stats.py:171
↓ 5 callersFunctionmake_parallel_cfg
(n_workers=2)
test/espnet3/components/data/test_collect_stats.py:234
↓ 5 callersFunctionmake_single_config
()
test/espnet3/components/modeling/test_model_with_optim_scheduler.py:54
↓ 5 callersMethodmeasure_iter_time
(self, iterable, name: str)
espnet2/train/reporter.py:260
↓ 5 callersMethodnorm_class
(self)
espnet2/sds/end_to_end/mini_omni/litgpt/config.py:173
↓ 5 callersFunctionnormal_
(data)
espnet2/asr/encoder/beats_encoder.py:1250
↓ 5 callersMethodnum_stream
Get number of parallel streams (SSL + codec). Returns: Total number of streams combining SSL and codec
espnet2/speechlm/model/speechlm/multimodal_io/audio.py:707
↓ 5 callersMethodoptional_data_names
(cls, train=True, inference=False)
test/espnet2/tasks/test_abs_task.py:57
↓ 5 callersFunctionpick_item_with_probability
This functions picks an item from the collection according to the associated probability distribution. The probability estimate of each item
egs2/TEMPLATE/asr1/steps/data/reverberate_data_dir.py:132
↓ 5 callersMethodpost_process
Perform post-processing of beam search iterations. Args: i (int): The length of hypothesis tokens. maxlen (int): The
espnet2/legacy/nets/beam_search.py:500
↓ 5 callersMethodpredict
(self, x)
test/espnet2/speechlm/model/conftest.py:114
↓ 5 callersFunctionremove_quotes
(value: str)
espnet2/utils/types.py:20
↓ 5 callersFunctionrename
(input: str)
egs2/owsm_v1/s2t1/local/filter_covost2.py:18
↓ 5 callersMethodselect_state
Get specified ID state from decoder hidden states. Args: states: Decoder hidden states. ((N, B, D_dec), (N, B, D_dec) or None)
espnet2/asr_transducer/decoder/rnn_decoder.py:222
↓ 5 callersMethodset_streaming_config
Set config file for streaming decoding. Args: asr_config (str): The config file for asr training
espnet2/legacy/nets/batch_beam_search_online_sim.py:27
↓ 5 callersFunctionsignal_framing
Expand `signal` into several frames, with each frame of length `frame_length`. Args: signal : (..., T) frame_length: length of
espnet2/enh/layers/beamformer.py:799
↓ 5 callersFunctionsmooth_probability_distribution
This function smooths the probability distribution in the list
egs2/TEMPLATE/asr1/steps/data/reverberate_data_dir.py:458
↓ 5 callersMethodsort_nbest
Sort hypotheses by score or score given sequence length. Args: hyps: Hypothesis. Return: hyps: Sorted hypoth
espnet2/asr/transducer/beam_search_transducer_streaming.py:252
↓ 5 callersMethodsort_nbest
Sort hypotheses by score or score given sequence length. Args: hyps: Hypothesis. Return: hyps: Sorted hypoth
espnet2/asr/transducer/beam_search_transducer.py:184
↓ 5 callersFunctionsoundfile_read
( wavs: Union[str, List[str]], dtype=None, always_2d: bool = False, concat_axis: int = 1,
espnet2/fileio/sound_scp.py:12
↓ 5 callersMethodspecial_mask
Create loss mask for special tokens (1 frame, multi-stream). Only first stream has the actual value, others are zero.
espnet2/speechlm/model/speechlm/speechlm_job.py:416
↓ 5 callersMethodsplit
(self, threshold=30)
egs2/ameboshi/svs1/local/prep_segments_from_xml.py:30
↓ 5 callersMethodsplit
(self, threshold=30)
egs2/kiritan/svs1/local/prep_segments_from_xml.py:134
↓ 5 callersFunctionsplit_fn_trans
(fn_trans)
egs2/ksponspeech/asr1/local/get_transcriptions.py:77
↓ 5 callersFunctionstack
(seq: Sequence[Union[ComplexTensor, torch.Tensor]], *args, **kwargs)
espnet2/enh/layers/complex_utils.py:186
↓ 5 callersFunctiontmp_txt_file
(tmp_path)
test/espnet3/utils/test_config.py:55
↓ 5 callersFunctionupsample
(signal, factor)
espnet2/gan_svs/visinger2/ddsp.py:64
↓ 5 callersFunctionwpe
WPE Args: Y: Complex valued STFT signal with shape (F, C, T) taps: Number of filter taps delay: Delay as a guard interval
espnet2/enh/layers/wpe.py:225
↓ 5 callersFunctionwrite_artifact
Write a single inference artifact to disk and return its path. This function implements the artifact serialization rules used by ``espnet3.sy
espnet3/utils/writer_utils.py:17
↓ 4 callersFunctionExtractAudioID
(audioname, wav_spk_info=None)
egs2/yoloxochitl_mixtec/asr1/local/data_prep.py:32
↓ 4 callersFunctionExtractAudioID
(audioname, wav_spk_info=None)
egs2/puebla_nahuatl/asr1/local/data_prep.py:30
↓ 4 callersFunctionTTS_psuedomos
Compute and return speech quality metrics for the given synthesized audio output using the Versa library. Args: TTS_audio_ou
egs2/TEMPLATE/asr1/pyscripts/utils/dialog_eval/TTS_speech_quality.py:8
↓ 4 callersMethod__init__
(self, *args, scalar=True, gamma=0.0, **kwargs)
espnet2/asr/state_spaces/residual.py:41
↓ 4 callersMethod__init__
( self, in_channels: int, out_channels: int, kernel_size: Union[int, Tuple[int
espnet2/gan_codec/shared/encoder/seanet_2d.py:110
↓ 4 callersMethod__init__
(self, dim=2)
espnet2/gan_codec/shared/decoder/seanet_2d.py:256
↓ 4 callersMethod__init__
( self, resblock_num, resblock_kernel_sizes, resblock_dilation_sizes,
espnet2/gan_codec/hificodec/module.py:101
↓ 4 callersMethod__init__
Grouped LSTM. Reference: Efficient Sequence Learning with Group Recurrent Networks; Gao et al., 2018 Args: h
espnet2/enh/layers/dc_crn.py:16
↓ 4 callersMethod__init__
( self, in_channels, out_channels, num_freqs, pre_blocks=2, fr
espnet2/enh/layers/tcndenseunet.py:83
↓ 4 callersMethod__init__
( self, in_features, hidden_features=None, out_features=None, act_laye
espnet2/enh/layers/swin_transformer.py:47
↓ 4 callersMethod__init__
( self, input_size, output_size, bottleneck_size=64, num_blocks=6,
espnet2/enh/layers/uses.py:51
↓ 4 callersMethod__init__
Band-Split RNN (BSRNN). References: [1] J. Yu, H. Chen, Y. Luo, R. Gu, and C. Weng, “High fidelity speech enhancement
espnet2/enh/layers/bsrnn.py:16
↓ 4 callersMethod__init__
(self, first_token, key_to_value, prev_names = None)
egs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/lstm.py:46
↓ 4 callersMethod__init__
(self, config=None)
test/espnet2/speechlm/model/conftest.py:88
↓ 4 callersMethod_all_reduce_stats
Perform async all_reduce on statistics for efficient multi-GPU sync. Args: stats: Dictionary of statistics tensors to reduce acro
espnet2/speechlm/trainer/deepspeed_trainer.py:135
↓ 4 callersMethod_apply_cfg
(self, seq, loss_masks, conti_feats, messages)
espnet2/speechlm/model/speechlm/speechlm_job.py:494
↓ 4 callersFunction_bfd_worker
Worker: sort (length, key) items and run Best Fit Decreasing.
espnet2/speechlm/dataloader/batch.py:75
↓ 4 callersMethod_block_forward
(self, input, blocks, outs, f_maps)
espnet2/gan_svs/avocodo/avocodo.py:326
↓ 4 callersFunction_build_inputs
(tmp_path: Path, **entries: list[str])
test/espnet3/systems/base/test_metric.py:44
↓ 4 callersMethod_calc_ctc_loss
( self, encoder_out: torch.Tensor, encoder_out_lens: torch.Tensor, ys_pad: tor
espnet2/s2t/espnet_ctc_model.py:324
↓ 4 callersMethod_calc_ctc_loss
( self, encoder_out: torch.Tensor, encoder_out_lens: torch.Tensor, ys_pad: tor
espnet2/s2t/espnet_model.py:471
↓ 4 callersMethod_calc_st_att_loss
( self, encoder_out: torch.Tensor, encoder_out_lens: torch.Tensor, ys_pad: tor
espnet2/s2st/espnet_model.py:902
↓ 4 callersMethod_collatecorpusdata
Collate all corpus data. Collate all specified corpus data. This is a hack to call the Kaldi collation scripts, which are required b
egs2/polyphone_swiss_french/asr1/local/data_prep.py:285
↓ 4 callersMethod_embed
Create embeddings from multimodal inputs. Handles both discrete tokens (encoded on-the-fly) and continuous features (projecte
espnet2/speechlm/model/speechlm/lm/parallel.py:238
↓ 4 callersFunction_install_stub
(name: str, module: types.ModuleType)
test/espnet3/conftest.py:9
↓ 4 callersFunction_install_stub
(name, module)
test/espnet2/speechlm/model/conftest.py:14
↓ 4 callersFunction_make_cfg_from_samples
( audio_path: List[str], *, stream=False, chunk_sec: float | None = None )
test/espnet3/parallel/test_inference_runner.py:161
↓ 4 callersMethod_make_km
Build KmeansModel without joblib, using manual buffer registration.
test/espnet2/speechlm/model/speechlm/multimodal_io/test_audio.py:20
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
espnet2/asr/encoder/avhubert_encoder.py:1044
↓ 4 callersMethod_make_layer
( self, block: Type[nn.Module], planes: int, num_blocks: int, stride: int )
espnet2/spk/encoder/resnet_encoder.py:66
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
egs2/lrs2/lipreading1/local/feature_extract/models/pretrained.py:68
↓ 4 callersFunction_resolve_test_sets
Return the test-set names to score for the measurement stage.
espnet3/systems/base/metric.py:17
↓ 4 callersFunction_run_git_command
Run a git command and return stdout, or None on failure.
espnet3/utils/logging_utils.py:307
↓ 4 callersFunction_setup_kernel
(k)
espnet2/enh/layers/ncsnpp_utils/up_or_down_sampling.py:181
↓ 4 callersMethod_source_mask
Make masks for self-attention. Args: ilens (LongTensor): Batch of lengths (B,). Returns: Tensor: Mask tensor
espnet2/gan_tts/jets/generator.py:775
↓ 4 callersMethodasdict
Convert data to JSON-friendly dict.
espnet2/legacy/nets/beam_search.py:25
↓ 4 callersMethodassemble_hyps
Assemble the hypotheses.
espnet2/legacy/nets/batch_beam_search_online.py:484
↓ 4 callersMethodaudio_melspec
( self, audio, n_mels=120, frame_size=320, hop_length=160, sr=16000, to_db=True )
espnet2/enh/layers/dnsmos.py:99
↓ 4 callersFunctionauto_bleu
(sentence, weights, mean_mode="arithmetic")
egs2/TEMPLATE/asr1/pyscripts/utils/dialog_eval/vert.py:269
↓ 4 callersMethodauxiliary_outputs
(self)
egs2/TEMPLATE/asr1/steps/libs/nnet3/xconfig/gru.py:246
↓ 4 callersFunctionaverage_by_duration
Average frame-level features into token-level according to durations Args: ds (Tensor): Batched token duration (B, T_text). xs (T
espnet2/gan_tts/jets/alignments.py:209
↓ 4 callersMethodbatch_decode
Decode a batch of audios (either short-form or long-form).
espnet2/bin/s2t_inference_ctc.py:920
↓ 4 callersMethodbuild_index
Build a batch index ordering for a given seed. Args: seed: Random seed for shuffling. Different seeds produce dif
espnet2/speechlm/dataloader/iterator.py:196
↓ 4 callersMethodbuild_model
(cls, args: argparse.Namespace)
espnet2/tasks/mt.py:334
← previousnext →401–500 of 9,880, ranked by callers