espnet2.enh.loss.criterions.tf_domain.FrequencyDomainDPCL
espnet2.enh.loss.criterions.tf_domain.FrequencyDomainDPCL
class espnet2.enh.loss.criterions.tf_domain.FrequencyDomainDPCL(compute_on_mask=False, mask_type='IBM', loss_type='dpcl', name=None, only_for_test=False, is_noise_loss=False, is_dereverb_loss=False)
Bases: FrequencyDomainLoss
Initializes internal Module state, shared by both nn.Module and ScriptModule.
property compute_on_mask : bool
forward(ref, inf) → Tensor
time-frequency Deep Clustering loss.
References
[1] Deep clustering: Discriminative embeddings for segmentation and : separation; John R. Hershey. et al., 2016; https://ieeexplore.ieee.org/document/7471631
[2] Manifold-Aware Deep Clustering: Maximizing Angles Between Embedding : Vectors Based on Regular Simplex; Tanaka, K. et al., 2021; https://www.isca-speech.org/archive/interspeech_2021/tanaka21_interspeech.html
- Parameters:
- ref – List[(Batch, T, F) * spks]
- inf – (Batch, T*F, D)
- Returns: (Batch,)
- Return type: loss
property mask_type : str