Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Holasyb918/HeyGem-Linux-Python-Hack
/ functions
Functions
81 in github.com/Holasyb918/HeyGem-Linux-Python-Hack
⨍
Functions
81
◇
Types & classes
7
↓ 7 callers
Function
spectrogram
(wav_arr, n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], win_len=hpara
wenet/tools/_extract_feats.py:201
↓ 3 callers
Function
power_spec2mel
(power_spec, sr=hparams['sample_rate'], n_fft=hparams['n_fft'], num_mels=hparams['num_mels'
wenet/tools/_extract_feats.py:215
↓ 3 callers
Function
preempahsis
(wav_arr, pre_param=hparams['preemphasis'])
wenet/tools/_extract_feats.py:105
↓ 2 callers
Function
find_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 callers
Function
find_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 callers
Function
griffin_lim
:param magnitude_spec: magnitude spectrogram of shape [time, n_freqs] obtained from spectrogram(wav_arr)['magnitude]
wenet/tools/_extract_feats.py:339
↓ 2 callers
Function
istft
(stft_matrix, hop_len=hparams['hop_length'], win_len=hparams['win_length'], window=hparams['window']
wenet/tools/_extract_feats.py:185
↓ 2 callers
Function
load_wav
(wav_f, sr=None)
wenet/tools/_extract_feats.py:91
↓ 2 callers
Function
power2db
(power_spec, ref_db=hparams['ref_db'], tol=1e-5)
wenet/tools/_extract_feats.py:313
↓ 2 callers
Method
shuffle
(self)
landmark2face_wy/data/l2faceaudio_dataset.py:92
↓ 2 callers
Method
shuffle
(self)
landmark2face_wy/data/l2faceaudio512_dataset.py:92
↓ 2 callers
Method
shuffle
(self)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:128
↓ 2 callers
Method
shuffle
(self)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:119
↓ 2 callers
Function
stft
(wav_arr, n_fft=hparams['n_fft'],#短时傅里叶变化 hop_len=hparams['hop_length'], win_len=hparams['wi
wenet/tools/_extract_feats.py:165
↓ 2 callers
Function
write_wav
(write_path, wav_arr, sr)
wenet/tools/_extract_feats.py:100
↓ 1 callers
Function
_amp_to_db
(x,ref_db=20)
wenet/tools/_extract_feats.py:304
↓ 1 callers
Function
_db_normalize
(db, min_db)
wenet/tools/_extract_feats.py:419
↓ 1 callers
Method
_initialize_service
(self)
app.py:159
↓ 1 callers
Function
_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 callers
Function
_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 callers
Function
check_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 callers
Function
db2power
(power_db, ref_db=hparams['ref_db'])
wenet/tools/_extract_feats.py:318
↓ 1 callers
Function
deemphasis
(wav_arr, pre_param=hparams['preemphasis'])
wenet/tools/_extract_feats.py:108
↓ 1 callers
Function
get_3dmm_feature
(img_path, idx, audio_feature, new_dict)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:27
↓ 1 callers
Function
get_3dmm_feature
(img_path, idx, new_dict)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:27
↓ 1 callers
Function
get_args
()
run.py:28
↓ 1 callers
Function
get_idts
(config_name)
landmark2face_wy/data/l2faceaudio_dataset.py:12
↓ 1 callers
Function
get_idts
(config_name)
landmark2face_wy/data/l2faceaudio512_dataset.py:12
↓ 1 callers
Function
get_idts
(config_name)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:12
↓ 1 callers
Function
get_idts
(config_name)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:12
↓ 1 callers
Method
load_data
(self)
landmark2face_wy/data/__init__.py:87
↓ 1 callers
Function
log_power_denormalize
(normalized_logpower, min_db=hparams['min_db'])
wenet/tools/_extract_feats.py:333
↓ 1 callers
Function
log_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 callers
Function
main
()
run.py:172
↓ 1 callers
Function
mfcc_test
()
wenet/tools/_extract_feats.py:425
↓ 1 callers
Function
obtain_seq_index
(index, num_frames)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:22
↓ 1 callers
Function
obtain_seq_index
(index, num_frames)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:22
↓ 1 callers
Function
wav2mfcc_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
Method
add_mouth_mask2
(self, img)
landmark2face_wy/data/l2faceaudio_dataset.py:95
Method
add_mouth_mask2
(self, img)
landmark2face_wy/data/l2faceaudio512_dataset.py:95
Method
add_mouth_mask2
(self, img)
landmark2face_wy/data/Facereala3dmmexpwenet512_dataset.py:132
Method
add_mouth_mask2
(self, img)
landmark2face_wy/data/Facereala3dmmexp512_dataset.py:123
Function
create_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
Function
create_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
Function
get_option_setter
Return the static method <modify_commandline_options> of the dataset class.
landmark2face_wy/data/__init__.py:41
Function
get_option_setter
Return the static method <modify_commandline_options> of the model class.
landmark2face_wy/models/__init__.py:48
Function
griffin_lim_test
(wav_f, n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], win_l
wenet/tools/_extract_feats.py:372
Function
load_cmvn
(cmvn_file, is_json)
wenet/utils/cmvn.py:89
Function
mel2log_mel
(mel_spec, ref_db=hparams['ref_db'], min_db=hparams['min_db'])
wenet/tools/_extract_feats.py:308
Function
mulaw_decode
(encoded, quantization_channels)
wenet/tools/_extract_feats.py:127
Function
mulaw_decode_quantize
(encoded, quantization_channels)
wenet/tools/_extract_feats.py:132
Function
mulaw_encode
(wav_arr, quantization_channels)
wenet/tools/_extract_feats.py:115
Function
mulaw_encode_quantize
(wav_arr, quantization_channels)
wenet/tools/_extract_feats.py:121
Function
mulaw_encode_quantize_tf
(wav_batch, quantization_channels)
wenet/tools/_extract_feats.py:138
Method
process_video
( self, audio_file, video_file, watermark=False, digital_auth=False )
app.py:168
Function
split_wav
(wav_arr, top_db=-hparams['silence_db'])
wenet/tools/_extract_feats.py:111
Function
stft2wav_test
(stft_f, mean_f, std_f)
wenet/tools/_extract_feats.py:383
Function
wav2linear_v2
(wav_arr, sr=hparams['sample_rate'], n_mfcc=hparams['n_mfcc'], # 使用这个 n_fft=hparams['n_fft'],
wenet/tools/_extract_feats.py:285
Function
wav2melspec
(wav_arr, sr=hparams['sample_rate'], n_fft=hparams['n_fft'], hop_len=hparams['hop_length'], wi
wenet/tools/_extract_feats.py:225
Function
wav2mfcc
(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
Function
write_video
( output_imgs_queue, temp_dir, result_dir, work_id, audio_path, result_queue, widt
run.py:49
Function
write_video_gradio
( output_imgs_queue, temp_dir, result_dir, work_id, audio_path, result_queue, widt
app.py:27