From 2be3f03adc5695f82c6ab86da780108f786ed014 Mon Sep 17 00:00:00 2001 From: Hiroshiba Kazuyuki Date: Sun, 14 Jan 2018 07:40:07 +0900 Subject: 超解像 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/extract_acoustic_feature.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'scripts/extract_acoustic_feature.py') diff --git a/scripts/extract_acoustic_feature.py b/scripts/extract_acoustic_feature.py index 297c10b..7943639 100644 --- a/scripts/extract_acoustic_feature.py +++ b/scripts/extract_acoustic_feature.py @@ -40,19 +40,6 @@ arguments = parser.parse_args() pprint(dir(arguments)) -def make_feature( - path, - sample_rate, - top_db, - frame_period, - order, - alpha, -): - wave = WaveFileLoadProcess(sample_rate=sample_rate, top_db=top_db)(path, test=True) - feature = AcousticFeatureProcess(frame_period=frame_period, order=order, alpha=alpha)(wave, test=True) - return feature - - def generate_feature(path1, path2): out1 = Path(arguments.output1_directory, path1.stem + '.npy') out2 = Path(arguments.output2_directory, path2.stem + '.npy') -- cgit v1.2.3-70-g09d2