9ce553b1b1f16e237eb836bb0a61a1dc9ea404ab,pyannote/audio/embedding/extraction.py,Extraction,apply,#Extraction#Any#,86

Before Change


        embeddings : SlidingWindowFeature
        

        data = next(self.from_file(current_file))
        window = SlidingWindow(duration=self.duration,
                               step=self.step, start=0.)
        return SlidingWindowFeature(data, window)

After Change


        embeddings : SlidingWindowFeature
        
        window = SlidingWindow(duration=self.duration, step=self.step, start=0.)
        batches = [batch for batch in self.from_file(current_file,
                                                     incomplete=True)]
        return SlidingWindowFeature(np.vstack(batches), window)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pyannote/pyannote-audio
Commit Name: 9ce553b1b1f16e237eb836bb0a61a1dc9ea404ab
Time: 2017-01-30
Author: hbredin@users.noreply.github.com
File Name: pyannote/audio/embedding/extraction.py
Class Name: Extraction
Method Name: apply


Project Name: pyannote/pyannote-audio
Commit Name: 87a1afc00f6700d1fc33f4bb7a803229987c645b
Time: 2017-05-15
Author: bredin@limsi.fr
File Name: pyannote/audio/embedding/segmentation.py
Class Name: Segmentation
Method Name: apply


Project Name: pyannote/pyannote-audio
Commit Name: 16fb800c2d3f6d7198ad237adcab8f60828d0982
Time: 2017-05-15
Author: bredin@limsi.fr
File Name: pyannote/audio/embedding/segmentation.py
Class Name: Segmentation
Method Name: apply