MCPcopy Create free account

hub / github.com/Holasyb918/HeyGem-Linux-Python-Hack / functions

Functions81 in github.com/Holasyb918/HeyGem-Linux-Python-Hack

↓ 7 callersFunctionspectrogram
(wav_arr, n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], win_len=hpara
wenet/tools/_extract_feats.py:201
↓ 3 callersFunctionpower_spec2mel
(power_spec, sr=hparams['sample_rate'], n_fft=hparams['n_fft'], num_mels=hparams['num_mels'
wenet/tools/_extract_feats.py:215
↓ 3 callersFunctionpreempahsis
(wav_arr, pre_param=hparams['preemphasis'])
wenet/tools/_extract_feats.py:105
↓ 2 callersFunctionfind_dataset_using_name
Import the module "data/[dataset_name]_dataset.py". In the file, the class called DatasetNameDataset() will be instantiated. It has to be a s
landmark2face_wy/data/__init__.py:18
↓ 2 callersFunctionfind_model_using_name
Import the module "models/[model_name]_model.py". In the file, the class called DatasetNameModel() will be instantiated. It has to be a subcl
landmark2face_wy/models/__init__.py:25
↓ 2 callersFunctiongriffin_lim
:param magnitude_spec: magnitude spectrogram of shape [time, n_freqs] obtained from spectrogram(wav_arr)['magnitude]
wenet/tools/_extract_feats.py:339
↓ 2 callersFunctionistft
(stft_matrix, hop_len=hparams['hop_length'], win_len=hparams['win_length'], window=hparams['window']
wenet/tools/_extract_feats.py:185
↓ 2 callersFunctionload_wav
(wav_f, sr=None)
wenet/tools/_extract_feats.py:91
↓ 2 callersFunctionpower2db
(power_spec, ref_db=hparams['ref_db'], tol=1e-5)
wenet/tools/_extract_feats.py:313
↓ 2 callersMethodshuffle
(self)
landmark2face_wy/data/l2faceaudio_dataset.py:92
↓ 2 callersMethodshuffle
(self)
landmark2face_wy/data/l2faceaudio512_dataset.py:92
↓ 2 callersMethodshuffle
(self)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:128
↓ 2 callersMethodshuffle
(self)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:119
↓ 2 callersFunctionstft
(wav_arr, n_fft=hparams['n_fft'],#短时傅里叶变化 hop_len=hparams['hop_length'], win_len=hparams['wi
wenet/tools/_extract_feats.py:165
↓ 2 callersFunctionwrite_wav
(write_path, wav_arr, sr)
wenet/tools/_extract_feats.py:100
↓ 1 callersFunction_amp_to_db
(x,ref_db=20)
wenet/tools/_extract_feats.py:304
↓ 1 callersFunction_db_normalize
(db, min_db)
wenet/tools/_extract_feats.py:419
↓ 1 callersMethod_initialize_service
(self)
app.py:159
↓ 1 callersFunction_load_json_cmvn
Load the json format cmvn stats file and calculate cmvn Args: json_cmvn_file: cmvn stats file in json format Returns: a num
wenet/utils/cmvn.py:22
↓ 1 callersFunction_load_kaldi_cmvn
Load the kaldi format cmvn stats file and calculate cmvn Args: kaldi_cmvn_file: kaldi text style global cmvn file, which is
wenet/utils/cmvn.py:47
↓ 1 callersFunctioncheck_gpu_usage
Checks if ONNX Runtime can use the GPU by attempting to create an InferenceSession with the CUDAExecutionProvider. Returns: True
check_env/check_onnx_cuda.py:4
↓ 1 callersFunctiondb2power
(power_db, ref_db=hparams['ref_db'])
wenet/tools/_extract_feats.py:318
↓ 1 callersFunctiondeemphasis
(wav_arr, pre_param=hparams['preemphasis'])
wenet/tools/_extract_feats.py:108
↓ 1 callersFunctionget_3dmm_feature
(img_path, idx, audio_feature, new_dict)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:27
↓ 1 callersFunctionget_3dmm_feature
(img_path, idx, new_dict)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:27
↓ 1 callersFunctionget_args
()
run.py:28
↓ 1 callersFunctionget_idts
(config_name)
landmark2face_wy/data/l2faceaudio_dataset.py:12
↓ 1 callersFunctionget_idts
(config_name)
landmark2face_wy/data/l2faceaudio512_dataset.py:12
↓ 1 callersFunctionget_idts
(config_name)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:12
↓ 1 callersFunctionget_idts
(config_name)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:12
↓ 1 callersMethodload_data
(self)
landmark2face_wy/data/__init__.py:87
↓ 1 callersFunctionlog_power_denormalize
(normalized_logpower, min_db=hparams['min_db'])
wenet/tools/_extract_feats.py:333
↓ 1 callersFunctionlog_power_normalize
:param log_power: in db, computed by power2db(spectrogram(wav_arr)['power']) :param min_db: minimum value of log_power in db :return: log
wenet/tools/_extract_feats.py:324
↓ 1 callersFunctionmain
()
run.py:172
↓ 1 callersFunctionmfcc_test
()
wenet/tools/_extract_feats.py:425
↓ 1 callersFunctionobtain_seq_index
(index, num_frames)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:22
↓ 1 callersFunctionobtain_seq_index
(index, num_frames)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:22
↓ 1 callersFunctionwav2mfcc_v2
(wav_arr, sr=hparams['sample_rate'], n_mfcc=hparams['n_mfcc'],#使用这个 n_fft=hparams['n_fft'], ho
wenet/tools/_extract_feats.py:257
Method__getitem__
(self, index)
landmark2face_wy/data/l2faceaudio_dataset.py:109
Method__getitem__
(self, index)
landmark2face_wy/data/l2faceaudio512_dataset.py:109
Method__getitem__
(self, index)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:146
Method__getitem__
(self, index)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:137
Method__init__
(self)
app.py:152
Method__init__
(self, model_info, provider)
model_lib/model_base.py:19
Method__init__
(self, opt, mode=None)
landmark2face_wy/data/l2faceaudio_dataset.py:22
Method__init__
(self, opt, mode=None)
landmark2face_wy/data/l2faceaudio512_dataset.py:22
Method__init__
Initialize this class Step 1: create a dataset instance given the name [dataset_mode] Step 2: create a multi-threaded data loader.
landmark2face_wy/data/__init__.py:65
Method__init__
(self, opt, mode=None)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:41
Method__init__
(self, opt, mode=None)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:38
Method__iter__
Return a batch of data
landmark2face_wy/data/__init__.py:94
Method__len__
Return the total number of images in the dataset.
landmark2face_wy/data/l2faceaudio_dataset.py:153
Method__len__
Return the total number of images in the dataset.
landmark2face_wy/data/l2faceaudio512_dataset.py:176
Method__len__
Return the number of data in the dataset
landmark2face_wy/data/__init__.py:90
Method__len__
Return the total number of images in the dataset.
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:209
Method__len__
Return the total number of images in the dataset.
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:199
Function_extract_feature
Extract acoustic fbank feature from origin waveform. Speed perturbation and wave amplitude distortion is optional. Args: batch: a l
wenet/tools/_extract_feats.py:12
Function_extract_feature_norm
Extract acoustic fbank feature from origin waveform. Speed perturbation and wave amplitude distortion is optional. Args: batch: a l
wenet/tools/_extract_feats.py:40
Methodadd_mouth_mask2
(self, img)
landmark2face_wy/data/l2faceaudio_dataset.py:95
Methodadd_mouth_mask2
(self, img)
landmark2face_wy/data/l2faceaudio512_dataset.py:95
Methodadd_mouth_mask2
(self, img)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:132
Methodadd_mouth_mask2
(self, img)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:123
Functioncreate_dataset
Create a dataset given the option. This function wraps the class CustomDatasetDataLoader. This is the main interface between this package
landmark2face_wy/data/__init__.py:47
Functioncreate_model
Create a model given the option. This function warps the class CustomDatasetDataLoader. This is the main interface between this package and '
landmark2face_wy/models/__init__.py:54
Functionget_option_setter
Return the static method <modify_commandline_options> of the dataset class.
landmark2face_wy/data/__init__.py:41
Functionget_option_setter
Return the static method <modify_commandline_options> of the model class.
landmark2face_wy/models/__init__.py:48
Functiongriffin_lim_test
(wav_f, n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], win_l
wenet/tools/_extract_feats.py:372
Functionload_cmvn
(cmvn_file, is_json)
wenet/utils/cmvn.py:89
Functionmel2log_mel
(mel_spec, ref_db=hparams['ref_db'], min_db=hparams['min_db'])
wenet/tools/_extract_feats.py:308
Functionmulaw_decode
(encoded, quantization_channels)
wenet/tools/_extract_feats.py:127
Functionmulaw_decode_quantize
(encoded, quantization_channels)
wenet/tools/_extract_feats.py:132
Functionmulaw_encode
(wav_arr, quantization_channels)
wenet/tools/_extract_feats.py:115
Functionmulaw_encode_quantize
(wav_arr, quantization_channels)
wenet/tools/_extract_feats.py:121
Functionmulaw_encode_quantize_tf
(wav_batch, quantization_channels)
wenet/tools/_extract_feats.py:138
Methodprocess_video
( self, audio_file, video_file, watermark=False, digital_auth=False )
app.py:168
Functionsplit_wav
(wav_arr, top_db=-hparams['silence_db'])
wenet/tools/_extract_feats.py:111
Functionstft2wav_test
(stft_f, mean_f, std_f)
wenet/tools/_extract_feats.py:383
Functionwav2linear_v2
(wav_arr, sr=hparams['sample_rate'], n_mfcc=hparams['n_mfcc'], # 使用这个 n_fft=hparams['n_fft'],
wenet/tools/_extract_feats.py:285
Functionwav2melspec
(wav_arr, sr=hparams['sample_rate'], n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], wi
wenet/tools/_extract_feats.py:225
Functionwav2mfcc
(wav_arr, sr=hparams['sample_rate'], n_mfcc=hparams['n_mfcc'], n_fft=hparams['n_fft'], hop_len=hp
wenet/tools/_extract_feats.py:233
Functionwrite_video
( output_imgs_queue, temp_dir, result_dir, work_id, audio_path, result_queue, widt
run.py:49
Functionwrite_video_gradio
( output_imgs_queue, temp_dir, result_dir, work_id, audio_path, result_queue, widt
app.py:27