Closed Aniana0 closed 3 years ago
I tried using Google Colab to use nnsvs and found an error in 'import pysinsy' too.
Error message:
stage 0: Data preparation
Traceback (most recent call last):
File "/content/nnsvs/egs/nnsvs_natsume_singing/00-svs-world/utils/gen_lab.py", line 1, in
Original Message(Korean): ์ ๋ Google Colab์ ์ด์ฉํด nnsvs ์ฌ์ฉ์ ๋ค์ ์๋ํด๋ณด์๊ณ , Colab์์๋ 'import pysinsy'์์ ์ค๋ฅ๊ฐ ๋๋ ๊ฒ์ ๋ฐ๊ฒฌํ์ต๋๋ค.
์ค๋ฅ ๋ฉ์์ง:
stage 0: Data preparation
Traceback (most recent call last):
File "/content/nnsvs/egs/nnsvs_natsume_singing/00-svs-world/utils/gen_lab.py", line 1, in
Could you ask the author of https://github.com/oatsu-gh/setup-nnsvs-on-wsl? I may look into the problem when I have some time but cannot guarantee when I get some time to do it as I have been busy at work recently.
Thank you for your reply! I got it. I'll ask the author of setup-nnsvs-on-wsl, too. Please check when you have time so that it won't be a burden to you. I can wait forever.๐
This is just my opinion, I don't think it's a matter of setup-nsvs-on-wsl. My friend advised me to change the version of wsl to 1, and I reinstalled everything after changing the version of wsl to 1. When reinstalling everything, I tried installing nnsvs without 'setup-nsvs-on-wsl' and still got the same error. I saved the command and execution results that I entered to install 'nnsvs' in a txt file: log.txt
Original Message(Korean): ๋ต๋ณ๊ฐ์ฌํฉ๋๋ค! ์๊ฒ ์ต๋๋ค. setup-nnsvs-on-wsl์ ์ ์์์๊ฒ๋ ๋ฌผ์ด๋ณด๊ฒ ์ต๋๋ค. ๋ถ๋ด์ด ๋์ง ์๋๋ก ์ฌ์ ๊ฐ ์์ ๋ ์ฒ์ฒํ ํ์ธํด์ฃผ์ธ์. ์ ๋ ์ธ์ ๊น์ง๋ ๊ธฐ๋ค๋ฆด ์ ์์ต๋๋ค.๐
์ด๊ฒ์ ๊ทธ์ ์ ์๊ฒฌ์ ๋๋ค๋ง, setup-nsvs-on-wsl์ ๋ฌธ์ ๊ฐ ์๋ ๊ฒ ๊ฐ์ต๋๋ค. ์ง์ธ์ด ์ ๊ฒ wsl์ ๋ฒ์ ์ 1๋ก ๋ฐ๊พธ์ด ๋ณด๋ผ๊ณ ์๋ ค์ฃผ์๊ณ , ์ ๋ wsl์ ๋ฒ์ ์ 1๋ก ๋ฐ๊พธ๋ฉด์ ๋ชจ๋ ๊ฒ์ ๋ค์ ์ค์นํด๋ณด์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ ๋ค์ ๋ชจ๋ ๊ฒ์ ์ค์นํ ๋, ์ ๋ setup-nnsvs-on-wsl ์์ด nnsvs๋ฅผ ์ค์นํด๋ณด์๊ณ , ์ฌ์ ํ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฌ์ต๋๋ค. ์ ๋ nnsvs๋ฅผ ์ค์นํ๊ธฐ ์ํด ์ ๋ ฅํ ๋ช ๋ น์ด์ ์คํ ๊ฒฐ๊ณผ๋ฅผ txt ํ์ผ์ ์ ์ฅํด๋์์ต๋๋ค: log.txt
I have the same question too. Do you fix it?
I have the same question too. Do you fix it?
A few hours ago, I deleted everything and reinstalled nnsvs, and the error was fixed. I don't know why the error was fixed even though it was installed in the same process as before.๐ค This is a log of all the commands I entered in Ubuntu during the installation of nnsvs : command_logs.txt So you delete everything and try installing nnsvs again.
Original Message(Korean): ๋ช ์๊ฐ ์ , ๋ชจ๋ ๊ฒ์ ์ญ์ ํ๊ณ ๋ค์ nnsvs๋ฅผ ์ค์นํ๋ ์ค๋ฅ๊ฐ ์ฌ๋ผ์ก์ต๋๋ค. ์ ๋ ์ด์ ๊ณผ ๊ฐ์ ๊ณผ์ ์ผ๋ก ์ค์นํ์์๋ ์ค๋ฅ๊ฐ ์ฌ๋ผ์ง ์ด์ ๋ฅผ ์ ์๊ฐ ์์์ต๋๋ค. ์ด๊ฒ์ ์ ๊ฐ NNSVS๋ฅผ ์ค์นํ๋ ๋์ ์ฐ๋ถํฌ์ ์ ๋ ฅํ ๋ช ๋ น์ด๋ฅผ ๊ธฐ๋กํ ๊ฒ์ ๋๋ค: command_logs.txt So-Fann๋๋ ๋ชจ๋ ๊ฒ์ ์ง์ด ๋ค ๋ค์ nnsvs๋ฅผ ์ค์นํด๋ณด์๊ธธ ๋ฐ๋๋๋ค
My English is bad. So I used a translator. I'm sorry.
I installed wsl2 and Ubuntu(version: 2004.2021.222.0) to use nnsvs. Then I tried to install nnsvs using setup-nsvs-on-wsl (https://github.com/oatsu-gh/setup-nnsvs-on-wsl)), but it didn't install properly because of an error. So I copied the commands in 'setup_nnsvs_on_wsl.sh' and entered them directly into Windows Terminal to install the necessary packages and nnsvs. But nnsvs didn't work, and I checked and found an error when import pysinsy.
This is the result of import pysinsy: .>>> import pysinsy Traceback (most recent call last): File "", line 1, in
File "/usr/local/lib/python3.8/dist-packages/pysinsy/init.py", line 5, in
from .sinsy import Sinsy
ImportError: /usr/local/lib/libsinsy.so.0.9: undefined symbol: HTS_Engine_get_nsamples
I tried reinstalling Ubuntu and nnsvs several times to resolve the error, but the problem was not resolved. Please help me to resolve this error...๐ข Thank you for reading!
Original Message(Korean): ์ ๋ nnsvs๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด wsl2์ Ubuntu(๋ฒ์ : 2004.2021.222.0)์ ์ค์นํ์ต๋๋ค. ๊ทธ ๋ค์ setup-nnsvs-on-wsl(https://github.com/oatsu-gh/setup-nnsvs-on-wsl)์ ์ฌ์ฉํด nnsvs ์ค์นํ๋ ค๊ณ ํ์ง๋ง, ์ค๋ฅ๊ฐ ๋ฌ๊ณ ์ ๋๋ก ์ค์น๊ฐ ๋์ง ์์์ต๋๋ค. ๊ทธ๋์ setup_nnsvs_on_wsl.sh ์์ ๋ช ๋ น์ด๋ฅผ ํ ์ค ์ฉ ๋ณต์ฌํด์ Windows Terminal์ ์ง์ ์ ๋ ฅํ์ฌ ํ์ํ ํจํค์ง๋ค๊ณผ nnsvs๋ฅผ ์ค์นํ์ต๋๋ค. ํ์ง๋ง nnsvs๊ฐ ์๋ํ์ง ์์๊ณ , ํ์ธํด๋ณด๋ pysinsy๋ฅผ importํ ๋ ์ค๋ฅ๊ฐ ์์์ต๋๋ค.
์๋๋ pysinsy๋ฅผ importํ ๊ฒฐ๊ณผ์ ๋๋ค: .>>> import pysinsy Traceback (most recent call last): File "", line 1, in
File "/usr/local/lib/python3.8/dist-packages/pysinsy/init.py", line 5, in
from .sinsy import Sinsy
ImportError: /usr/local/lib/libsinsy.so.0.9: undefined symbol: HTS_Engine_get_nsamples
์ค๋ฅ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด Ubuntu์ nnsvs๋ฅผ ์ฌ๋ฌ๋ฒ ์ฌ์ค์น ํด๋ณด์์ง๋ง ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์ง ์์์ต๋๋ค. ์ ๊ฐ ์ด ์ค๋ฅ๋ฅผ ํด๊ฒฐํ ์ ์๋๋ก ๋์์ฃผ์ธ์...๐ข ์ฝ์ด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค.