889a295c5c4e0c1cf344e49f2020917a410f64d1,tests/core/test_augmentation.py,,,#,10
Before Change
mix_loc = item_tempfile.name
item["mix"].write_audio_to_file(item_tempfile.name)
source_tempfiles = {}
for name, source in item["sources"].items():
source_tempfile = tempfile.NamedTemporaryFile()
source.write_audio_to_file(source_tempfile.name)
source_tempfiles[name] = source_tempfile
After Change
import librosa
import pytest
REGRESSION_PATH="tests/core/regression/augmentation"
os.makedirs(REGRESSION_PATH, exist_ok=True)
// // We test on a single item from MUSDB
// musdb = hooks.MUSDB18(download=True)
// item = musdb[40]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: interactiveaudiolab/nussl
Commit Name: 889a295c5c4e0c1cf344e49f2020917a410f64d1
Time: 2020-05-03
Author: abugler@gmail.com
File Name: tests/core/test_augmentation.py
Class Name:
Method Name:
Project Name: D2KLab/entity2rec
Commit Name: 4941ef9a9d7f30957b343486bb3f164b0fa3a900
Time: 2018-08-01
Author: enricopalumbo0@gmail.com
File Name: entity2rec/optimize_hyper_params.py
Class Name:
Method Name:
Project Name: interactiveaudiolab/nussl
Commit Name: ceb4e40c074d2f0d0bde8e97c7b4493971281a9b
Time: 2020-05-14
Author: abugler@gmail.com
File Name: tests/core/test_augmentation.py
Class Name:
Method Name: