본문 바로가기
IT정보

Diff-SVC Error note.

by 와리브 2023. 4. 2.
반응형

Paper : https://arxiv.org/abs/2105.13871

Github Repo : https://github.com/prophesier/diff-svc

     (Korean)  : https://github.com/wlsdml1114/diff-svc

 

 

1. AttributeError: 'NSfHifiGAN' object has no attribute....

AttributeError: If the error 'NSfHifiGAN' object has no attribute 'h' appears, you must enter the correct vocoder path (path of NSfHifiGAN) below in config.yaml.

(AttributeError: 'NSfHifiGAN' object has no attribute 'h' 에러 뜬다면 config.yaml 에서 아래 보코더 path를 정확하게 을 포함해 입력해줘야함.)

One more thing to check, make sure you have complete model. The the model of NSfHifiGAN is not a zip file, and it should be 54.1mb. The file I received was falty.

한가지 더 확인해야 할 것은, NSfHifiGAN의 model은 zip 파일이 아님. 내가 받은 파일이 잘못 된거였음.

 

 

2. [WinError 1455] The paging file is too small for this operation to complete. Error loading...

This error is rather, a windows error than the diff-svc. You need to change paging settings in your windows computer.

이 오류는 diff-svc보다 오히려 Windows 오류입니다. Windows 컴퓨터에서 페이징 설정을 변경해야 합니다.

 

Open "advanced system setting". Go to the advanced tab then click settings related to performance.
Again click on advanced tab--> change --> unselect 'automatically......'. for all the drives, set 'system managed size'. Restart your pc.

 

 

 

3. IndexError: list index out of range

   Make sure all of the follwoing settings in config.yaml has correct path & your datasets are there. 

   아래 설정 path가 정확한지 확인해야함.

      - binary_data_dir 

      - raw_data_dir 

      - work_dir

              +

      - speaker_id    (just in case you forgot to change.)

 

 

 

 

추가 노트 : 

Note worthy parameters in config.yaml:

    - val_check_interval: 2000  [얼마나 자주 checkpoint를 저장할지 설정. ex. 2000 epoch 마다 저장]

    -  check_val_every_n_epoch: 10  [얼마나 자주 toal validation loss를 계산할지 설정. 낮은 숫자로 하면 느려지지만, overfitting을 사전에 감지할 수 있음. 그런데 22.4khz 모델에서는 위에 parameter가 잘 바뀌는걸 확인했는데, 44.1khz 모델을 트레이닝 할 때는 바꿔도 반영이 안됨. 왜그럴까?]

 

 

반응형

댓글