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

第一段階の学習でエラーが出てしまう #51

Closed BURI55 closed 5 years ago

BURI55 commented 5 years ago

第一段階の学習をかけたところ以下のエラーが出ました 何が悪いのでしょうか?

python train.py dat/config.json dat/model/yukari_1st Traceback (most recent call last): File "train.py", line 13, in from become_yukarin.config.config import create_from_json File "/home/buri/become-yukarin/become_yukarin/init.py", line 6, in from .vocoder import RealtimeVocoder File "/home/buri/become-yukarin/become_yukarin/vocoder.py", line 3, in from world4py.native import structures, apidefinitions, utils File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/init.py", line 6, in from world4py.native import apis, tools, utils, structures File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/apis.py", line 6, in from world4py.native import apidefinitions, structures, utils File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/apidefinitions.py", line 7, in from world4py.native import structures, instance File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/instance.py", line 9, in _WORLD = ctypes.cdll.LoadLibrary(_WORLD_LIBRARY_PATH) File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary return self._dlltype(name) File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/ctypes/init.py", line 348, in init self._handle = _dlopen(self._name, mode) OSError: /home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/libworld.so: cannot open shared object file: No such file or directory

YoshikazuOota commented 5 years ago

attic です。

エラーの内容は 『WORLD4py のライブラリのファイルが開けない(存在しない)』とのことです。 WORLD4pyのインストールに失敗している可能性があります。

pip uninstall world4py

で、一度 world4pyの削除を行います。 その後、再びWORLD4py ディレクトリでインストールをおこなってみてください。 その際には、--no-cache-dir と -I を付けた方が安全です。 これは、前回のインストールのキャッシュデータを破棄して、インストールする方法です。

pip --no-cache-dir install -I world4py

このエラーを踏んだことがないので、推測の対応になりますが、お試しください。

以上、よろしくお願いいたします。

2019年6月9日(日) 21:58 BURI55 notifications@github.com:

第一段階の学習をかけたところ以下のエラーが出ました 何が悪いのでしょうか?

python train.py dat/config.json dat/model/yukari_1st Traceback (most recent call last): File "train.py", line 13, in from become_yukarin.config.config import create_from_json File "/home/buri/become-yukarin/become_yukarin/init.py", line 6, in from .vocoder import RealtimeVocoder File "/home/buri/become-yukarin/become_yukarin/vocoder.py", line 3, in from world4py.native import structures, apidefinitions, utils File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/ init.py", line 6, in from world4py.native import apis, tools, utils, structures File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/apis.py", line 6, in from world4py.native import apidefinitions, structures, utils File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/apidefinitions.py", line 7, in from world4py.native import structures, instance File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/native/instance.py", line 9, in _WORLD = ctypes.cdll.LoadLibrary(_WORLD_LIBRARY_PATH) File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/ctypes/init.py", line 426, in LoadLibrary return self._dlltype(name) File "/home/buri/.pyenv/versions/3.6.3/lib/python3.6/ctypes/init.py", line 348, in init self._handle = _dlopen(self._name, mode) OSError: /home/buri/.pyenv/versions/3.6.3/lib/python3.6/site-packages/world4py/libworld.so: cannot open shared object file: No such file or directory

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Hiroshiba/become-yukarin/issues/51?email_source=notifications&email_token=ABVJWIHT3H7MQI6WGWXCTELPZT47NA5CNFSM4HWJMCG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYN4SGQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVJWIBJ3KUGNVTTBXCMU63PZT47NANCNFSM4HWJMCGQ .

Hiroshiba commented 5 years ago

学習段階でworld4pyが必須になっていたので修正しました。 https://github.com/Hiroshiba/become-yukarin/commit/b5fd5dad7ddb43006dcdf9f97c30ba2212ad0cc1

一度issueを閉じますが、また同様のエラーが出た場合は再度openして質問してください。