diff options
| author | Hiroshiba Kazuyuki <hihokaruta@gmail.com> | 2018-01-14 07:40:07 +0900 |
|---|---|---|
| committer | Hiroshiba Kazuyuki <hihokaruta@gmail.com> | 2018-01-14 07:40:07 +0900 |
| commit | 2be3f03adc5695f82c6ab86da780108f786ed014 (patch) | |
| tree | ae4b95aa3e45706598e66cc00ff5ad9f00ef97a9 /scripts | |
| parent | f9185301a22f1632b16dd5266197bb40cb7c302e (diff) | |
超解像
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/extract_acoustic_feature.py | 13 |
1 files changed, 0 insertions, 13 deletions
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') |
