f1b02cad435ce673a73fc997dc46d005c81e31c8,nussl/separation/deep_mask_estimation.py,DeepMaskEstimation,run,#DeepMaskEstimation#,63

Before Change


            if "estimates" not in output:
                raise ValueError("This model is not a mask estimation model!")

            _masks = output["estimates"].cpu()

        self.assignments = _masks
        self.num_sources = self.assignments.shape[0]
        self.masks = []

After Change


                raise ValueError("This model is not a mask estimation model!")

            _masks = (output["estimates"] / input_data["magnitude_spectrogram"].unsqueeze(-1)).squeeze(0)
            _masks = _masks.permute(3, 1, 0, 2)
            _masks = _masks.cpu().data.numpy()
        

        self.assignments = _masks
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: interactiveaudiolab/nussl
Commit Name: f1b02cad435ce673a73fc997dc46d005c81e31c8
Time: 2019-05-17
Author: prem@u.northwestern.edu
File Name: nussl/separation/deep_mask_estimation.py
Class Name: DeepMaskEstimation
Method Name: run


Project Name: interactiveaudiolab/nussl
Commit Name: 85303d6aa33fed9eedb35c053a4568c79bc05577
Time: 2018-12-23
Author: prem@stark.local
File Name: nussl/separation/deep_separation.py
Class Name: DeepSeparation
Method Name: run


Project Name: Alexander-H-Liu/End-to-end-ASR-Pytorch
Commit Name: 41a3e20440c61f4892d7731f89032b53932cce66
Time: 2019-08-14
Author: alexliu36@gmail.com
File Name: src/solver.py
Class Name: Trainer
Method Name: exec