#81·vits

Questions about 48k audio file train

Author: H4ppyB1rdCreated Sep 17, 2022Updated Sep 4, 2025

My terminal shows weird output when I started single-speaker training on audios of sampling rate = 48000hz, after I finished the last round of single-speaker training with fine results on the same audios resampled to default sampling rate 22050hz.

After I run train.py, the terminal throws this message:

  • warning: audio amplitude out of range, auto clipped.

(I guess this wasn't the crucial problem?)

Then this message:

  • max value is tensor(33528.1016)
  • min value is tensor(-17584.6523)
  • max value is tensor(25380.4434)
  • min value is tensor(-38273.9297)
  • max value is tensor(50959.3125)
  • min value is tensor(-37103.1211)
  • max value is tensor(37702.8320)
  • min value is tensor(-33512.7734)

... for dozens of rows.

Then this:

Then the training shows weird losses like:

  • [INFO] Train Epoch: 21 [0%]
  • [INFO] [nan, nan, nan, nan, 2.0102107524871826, 208.6475067138672, 1600, 0.00019950059330492385]

each of the first four elements is nan. None of above happend with my previous 22050hz audio file training, so I'm wondering why and what I can do.(I've already modified json file in /configs to 48k sampling rate.) My apologies in advance if my questions were too basic.