일단 문제가 2개있는데
하나는
cd monotonic_align
python setup.py build_ext --inplace
cd ..
에서
error: could not create 'monotonic_align/core.cpython-37m-x86_64-linux-gnu.so': No such file or directory
오류가 계속 뜸
cd monotonic_align
mkdir monotonic_align
python setup.py build_ext --inplace
cd..
로 해결했는데 맞는지 모르겠음.
두번쨰는
학습 명령어에
AssertionError: CPU training is not allowed.
라고 뜨고 진행이 안됨;
일단 댓에 적혀 있던 해결법인
<pip3 install -r requirements.txt
부터 실행한 모양인데, 그거 실행하기 전에
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
부터 먼저 실행해야 함>
을
레포 싹지우고 첨부터 다시 해봤는데 저대로 일단 저 하단이랑 똑같은 에러가 계속뜨더라
저거 아래 질문자랑 경로뺴고 오류가 완전 같은데 해결이안딘다
ㅡㅡㅡ
base) C:\Users\lmk25\Desktop\TTSVC\vits-finetuning>python train_ms.py -c configs/config.json -m checkpoints
C:\Users\lmk25\anaconda3\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Traceback (most recent call last):
File "C:\Users\lmk25\Desktop\TTSVC\vits-finetuning\train_ms.py", line 306, in <module>
main()
File "C:\Users\lmk25\Desktop\TTSVC\vits-finetuning\train_ms.py", line 49, in main
assert torch.cuda.is_available(), "CPU training is not allowed."
AssertionError: CPU training is not allowed.
일단 3090 3600x 쓰고있음
ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
https://github.com/SayaSS/vits-finetuning
추천해준 이 레포에서 훈련 하는데
마지막에
python train_ms.py -c configs/config.json -m checkpoints
입력해서 훈련 진행 시
Traceback (most recent call last):
File "D:\AIKoe\vits-finetuning\train_ms.py", line 306, in <module>
main()
File "D:\AIKoe\vits-finetuning\train_ms.py", line 49, in main
assert torch.cuda.is_available(), "CPU training is not allowed."
AssertionError: CPU training is not allowed.
CPU훈련은 허용되지 않는다는데 gpu로 훈련하려면 어딜 고쳐야함..?
5600x에 3090ti 씀