MCPcopy Index your code

hub / github.com/ZFTurbo/Music-Source-Separation-Training / functions

Functions993 in github.com/ZFTurbo/Music-Source-Separation-Training

↓ 1 callersFunction_getWindowingArray
Generate a windowing array with a linear fade-in at the beginning and a fade-out at the end. This function creates a window of size `window_
utils/model_utils.py:439
↓ 1 callersMethod_get_state_dict
(self, dl_kwargs)
models/bandit/core/metrics/_squim.py:338
↓ 1 callersMethod_init_lstm_layer
(self, d_model, hidden_size)
models/scnet/separation.py:58
↓ 1 callersMethod_initialize_chunks_metadata
(self)
utils/dataset.py:536
↓ 1 callersMethod_inverse_hartley_transform
(X: torch.Tensor)
models/mdx23c_tfc_tdf_v3_with_STHT.py:23
↓ 1 callersMethod_is_chunk_loud_enough
(self, track_path, offset, chunk_size, track_length)
utils/dataset.py:697
↓ 1 callersMethod_istft
spec: complex (B, C, F, TT) -> audio: (B, C, T)
models/conformer_model.py:125
↓ 1 callersMethod_magnitude
(self, z)
models/demucs4ht.py:459
↓ 1 callersMethod_mask
(self, z, m)
models/demucs4ht.py:470
↓ 1 callersMethod_mult_add_mask
(x, m)
models/bandit/core/model/bsrnn/core.py:341
↓ 1 callersFunction_parse_legacy_loss_config
(config: ConfigDict)
models/bandit/core/__init__.py:116
↓ 1 callersMethod_precompute_chunks
Precompute all chunks for dataset_type 5 with overlap 2 using multiprocessing
utils/dataset.py:594
↓ 1 callersMethod_precompute_random_chunks
Precompute exact number of good chunks
utils/dataset.py:623
↓ 1 callersMethod_spec
(self, x)
models/demucs4ht.py:427
↓ 1 callersMethod_stft
x: (B, C, T) -> spec: complex (B, C, F, TT)
models/conformer_model.py:105
↓ 1 callersMethod_wiener
(self, mag_out, mix_stft, niters)
models/demucs4ht.py:487
↓ 1 callersFunctionabsmax
(a, *, axis)
ensemble.py:29
↓ 1 callersMethodapollo
(*args, **kwargs)
models/look2hear/models/base_model.py:72
↓ 1 callersMethodassert_input_data
Asserts that the shapes of input features are equal.
models/scnet_unofficial/scnet.py:185
↓ 1 callersFunctionaverage_waveforms
:param pred_track: shape = (num, channels, length) :param weights: shape = (num, ) :param algorithm: One of avg_wave, median_wave, min_wa
ensemble.py:71
↓ 1 callersFunctionbark_filterbank
( n_bands, fs, f_min, f_max, n_freqs )
models/bandit/core/model/bsrnn/utils.py:425
↓ 1 callersFunctionbind_lora_to_model
Replaces specific layers in the model with LoRA-extended versions. Parameters: ---------- config : Dict[str, Any] Configurat
utils/model_utils.py:670
↓ 1 callersFunctionbleed_full
Calculate the 'bleed' and 'fullness' metrics between a reference and an estimated audio signal. The 'bleed' metric measures how much the est
utils/metrics.py:304
↓ 1 callersFunctionblock_bounds
Split a dataset of `num_tracks` items into `world_size` equal contiguous blocks and return the half-open interval [start, end) assigned to
valid.py:655
↓ 1 callersMethodbrowse
(self, event, entry, is_folder=False, is_config=False, is_checkpoint=False)
gui/gui-wx.py:359
↓ 1 callersMethodcac2cws
(self, x)
models/upernet_swin_transformers.py:177
↓ 1 callersMethodcac2cws
(self, x)
models/mdx23c_tfc_tdf_v3_with_STHT.py:243
↓ 1 callersMethodcac2cws
(self, x)
models/demucs4ht.py:534
↓ 1 callersMethodcac2cws
(self, x)
models/mdx23c_tfc_tdf_v3.py:190
↓ 1 callersMethodcac2cws
(self, x)
models/torchseg_models.py:216
↓ 1 callersMethodcac2cws
(self, x)
models/segm_models.py:216
↓ 1 callersMethodcheck_and_fix_clipping
( self, item: Union[DataDict, BatchedDataDict] )
models/bandit/core/data/augmentation.py:58
↓ 1 callersFunctioncheck_validation
(args=None)
valid_ddp.py:37
↓ 1 callersFunctionchoice_loss
Build a composite loss from CLI/config options. Returns a callable that sums enabled terms (with per-term coefficients): - `masked_loss`
utils/losses.py:268
↓ 1 callersMethodchunking
(self, x: torch.Tensor)
models/bandit/core/metrics/_squim.py:152
↓ 1 callersFunctionclean_weights
(args)
scripts/prepare_weights_for_inference.py:9
↓ 1 callersFunctioncleanup_ddp
Finalize and clean up a Distributed Data Parallel (DDP) process group. Calls `torch.distributed.destroy_process_group()` to release resource
utils/settings.py:635
↓ 1 callersFunctioncleanup_test_tracks
Removes all cached test tracks. This function deletes the entire directory specified by the global `TEST_DIR` variable if it exists.
tests/admin_test.py:89
↓ 1 callersMethodcompute
(self)
models/bandit/core/metrics/snr.py:20
↓ 1 callersFunctioncompute_gcr
Compute the global compression ratio. Args: - subband_shapes (List[List[int]]): List of subband shapes. Returns: - float: Globa
models/scnet_unofficial/utils.py:121
↓ 1 callersMethodcompute_loss
(self, batch: BatchedDataDict, output: OutputType)
models/bandit/core/__init__.py:226
↓ 1 callersMethodcompute_mask
(self, q, b)
models/bandit_v2/maskestim.py:166
↓ 1 callersMethodcompute_masks
(self, q)
models/bandit_v2/maskestim.py:153
↓ 1 callersFunctioncompute_sd_layer_shapes
Compute the shapes for the subband layers. Args: - input_shape (int): Input shape. - bandsplit_ratios (List[float]): Ratios for spli
models/scnet_unofficial/utils.py:84
↓ 1 callersFunctionconvert_dataset
Converts MoisesDB dataset to MUSDB18 format for a specified number of folders. Parameters: - src_root (str): Root directory of the Moises
scripts/moises_to_musdb.py:185
↓ 1 callersFunctioncount_folders_parallel
Parallelly counts the number of subfolders in each folder inside src_folder. Parameters: - src_folder (str): Root folder containing subf
scripts/moises_to_musdb.py:237
↓ 1 callersMethodcreate_inference_controls
(self, panel)
gui/gui-wx.py:262
↓ 1 callersFunctioncreate_test_config
Create a test configuration file based on an existing configuration. Parameters: ---------- original_config_path : str Path
scripts/redact_config.py:43
↓ 1 callersMethodcreate_training_controls
(self, panel)
gui/gui-wx.py:211
↓ 1 callersMethodcws2cac
(self, x)
models/upernet_swin_transformers.py:184
↓ 1 callersMethodcws2cac
(self, x)
models/mdx23c_tfc_tdf_v3_with_STHT.py:250
↓ 1 callersMethodcws2cac
(self, x)
models/demucs4ht.py:541
↓ 1 callersMethodcws2cac
(self, x)
models/mdx23c_tfc_tdf_v3.py:197
↓ 1 callersMethodcws2cac
(self, x)
models/torchseg_models.py:223
↓ 1 callersMethodcws2cac
(self, x)
models/segm_models.py:223
↓ 1 callersFunctiondefault
(v, d)
models/mel_band_conformer.py:19
↓ 1 callersFunctiondefault
(v, d)
models/bs_roformer/attend.py:21
↓ 1 callersFunctiondefault
(v, d)
models/scnet_unofficial/scnet.py:27
↓ 1 callersFunctiondefault
(v, d)
models/bs_mamba2_code/bs_mamba2.py:45
↓ 1 callersFunctiondefault
(v, d)
models/bs_mamba2_code/attend_mamba.py:24
↓ 1 callersFunctiondraw_2_mel_spectrogram
Generate and save separate images for spectrograms and waveforms for both estimated and original audio. Creates two separate images:
utils/audio_utils.py:132
↓ 1 callersFunctiondraw_spectrogram
Generate and save a spectrogram image from an audio waveform. Converts the provided waveform into a mono signal, computes its Short-Time
utils/audio_utils.py:90
↓ 1 callersMethodencode
(self, batch)
models/bandit_v2/bandit.py:226
↓ 1 callersFunctionensemble_files
(args)
ensemble.py:126
↓ 1 callersFunctionexists
(val)
models/mel_band_conformer.py:15
↓ 1 callersFunctionexists
(val)
models/scnet_unofficial/scnet.py:23
↓ 1 callersFunctionfake
Fake initialization function to simulate processing and model loading. Args: config (Any): Configuration used for demixi
scripts/stream.py:253
↓ 1 callersMethodfeature_extractor
(self, input)
models/look2hear/models/apollo.py:290
↓ 1 callersFunctionfind_mixture_files
(root_dir)
valid.py:75
↓ 1 callersMethodflash_attn
(self, q, k, v)
models/bs_roformer/attend.py:76
↓ 1 callersMethodflash_attn
(self, q, k, v)
models/bs_mamba2_code/attend_mamba.py:80
↓ 1 callersFunctionformat_filename
Formats a filename from a template. e.g "{file_name}/{instr}" Using slashes ('/') in template will result in directories being created Re
inference.py:182
↓ 1 callersFunctionget_act
(act_type)
models/upernet_swin_transformers.py:68
↓ 1 callersFunctionget_act
(act_type)
models/mdx23c_tfc_tdf_v3_with_STHT.py:113
↓ 1 callersFunctionget_act
(act_type)
models/mdx23c_tfc_tdf_v3.py:61
↓ 1 callersFunctionget_act
(act_type)
models/torchseg_models.py:52
↓ 1 callersFunctionget_act
(act_type)
models/segm_models.py:52
↓ 1 callersFunctionget_band_specs_map
(band_specs_map, n_fft, fs, n_bands=None)
models/bandit/core/model/bsrnn/wrapper.py:88
↓ 1 callersFunctionget_conv_output_shape
Compute the output shape of a convolutional layer. Args: - input_shape (int): Input shape. - kernel_size (int, optional): Kernel siz
models/scnet_unofficial/utils.py:28
↓ 1 callersFunctionget_convtranspose_output_padding
Compute the output padding for a convolution transpose operation. Args: - input_shape (int): Input shape. - output_shape (int): Desi
models/scnet_unofficial/utils.py:53
↓ 1 callersFunctionget_decoder
(config, c)
models/torchseg_models.py:64
↓ 1 callersFunctionget_decoder
(config, c)
models/segm_models.py:64
↓ 1 callersMethodget_freq_weights
(self)
models/bandit_v2/utils.py:278
↓ 1 callersMethodget_identifier
(self, index)
models/bandit/core/data/dnr/dataset.py:186
↓ 1 callersMethodget_identifier
(self, index)
models/bandit/core/data/musdb/dataset.py:49
↓ 1 callersFunctionget_instruments
Detect available instrument files and their extensions.
valid.py:257
↓ 1 callersFunctionget_lora
(args, config, model)
utils/model_utils.py:591
↓ 1 callersMethodget_metadata
(self)
utils/dataset.py:752
↓ 1 callersFunctionget_metric
(config: ConfigDict)
models/bandit/core/__init__.py:139
↓ 1 callersFunctionget_metrics
Calculate a list of metrics to evaluate the performance of audio source separation models. The function computes the specified metrics based
utils/metrics.py:388
↓ 1 callersFunctionget_model
(args)
models/demucs4ht.py:696
↓ 1 callersMethodget_model_args
Should return args to re-instantiate the class.
models/look2hear/models/base_model.py:98
↓ 1 callersFunctionget_norm
(norm_type)
models/mdx23c_tfc_tdf_v3_with_STHT.py:98
↓ 1 callersFunctionget_norm
(norm_type)
models/mdx23c_tfc_tdf_v3.py:46
↓ 1 callersFunctionget_optimizer
Create and configure an optimizer for training. Selects the optimizer type based on `config.training.optimizer` and applies the correspo
utils/model_utils.py:258
↓ 1 callersFunctionget_optimizer_class
(name: str)
models/bandit/core/__init__.py:61
↓ 1 callersFunctionget_scheduler
(config, optimizer)
utils/settings.py:388
↓ 1 callersMethodget_state_dict
In case the state dict needs to be modified before sharing the model.
models/look2hear/models/base_model.py:94
↓ 1 callersMethodget_stem
( self, *, stem: str, identifier: Dict[str, Any] )
models/bandit/core/data/base.py:34
↓ 1 callersMethodget_stem
( self, *, stem: str, identifier: Dict[str, Any] )
models/bandit/core/data/dnr/dataset.py:48
← previousnext →201–300 of 993, ranked by callers