Hiroshiba / become-yukarin

Convert your voice to favorite voice
https://hiroshiba.github.io/blog/became-yuduki-yukari-with-deep-learning-power/
MIT License
576 stars 88 forks source link

音調特徴量の切り出しのエラー #5

Closed BURI55 closed 6 years ago

BURI55 commented 6 years ago

インの二つのデータの数を合わせて、アウトにも.wavを追記 ` C:\become-yukarin\become-yukarin>python scripts\extract_acoustic_feature.py -i1 \My_ATR503\*.wav -i2 \Sasara_ATR503\*.wav -o1 \out_MyATR503\*.wav -o2 \out_SasaraATR503\*.wav C:\Anaconda3\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype fromfloattonp.floatingis deprecated. In future, it will be treated asnp.float64 == np.dtype(float).type`. from ._conv import register_converters as _register_converters ['class', 'contains', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', '_get_args', '_get_kwargs', 'alpha', 'disable_alignment', 'enable_overwrite', 'f0_ceil1', 'f0_ceil2', 'f0_estimating_method', 'f0_floor1', 'f0_floor2', 'frame_period', 'ignore_feature', 'input1_directory', 'input2_directory', 'order', 'output1_directory', 'output2_directory', 'pad_second', 'pre_converter1_config', 'pre_converter1_model', 'sample_rate', 'top_db'] Traceback (most recent call last): File "C:\Anaconda3\lib\pathlib.py", line 1226, in mkdir self._accessor.mkdir(self, mode) File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped return strfunc(str(pathobj), args) OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '\out_MyATR503\*.wav'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "scripts\extract_acoustic_feature.py", line 208, in main() File "scripts\extract_acoustic_feature.py", line 197, in main arguments.output1_directory.mkdir(exist_ok=True) File "C:\Anaconda3\lib\pathlib.py", line 1235, in mkdir if not exist_ok or not self.is_dir(): File "C:\Anaconda3\lib\pathlib.py", line 1326, in is_dir return S_ISDIR(self.stat().st_mode) File "C:\Anaconda3\lib\pathlib.py", line 1136, in stat return self._accessor.stat(self) File "C:\Anaconda3\lib\pathlib.py", line 387, in wrapped return strfunc(str(pathobj), args) OSError: [WinError 123] ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。: '\out_MyATR503\.wav' ``

BURI55 commented 6 years ago

\を取ってみたところ、変化が見られたので追記