IAHispano / Applio

VITS-based Voice Conversion focused on simplicity, quality and performance.
https://applio.org
MIT License
1.36k stars 230 forks source link

⌛ · fix mismatch length in 44100.json #427

Closed Tps-F closed 1 month ago

Tps-F commented 2 months ago

Issue: #428

aitronssesin commented 2 months ago

That works for you? Because even with your pull request in my case training in 44k doesn't work

Tps-F commented 2 months ago

I know and I'm sorry I forgot to convert it to the draft. I'm just helping Blaise for now-

blaisewf commented 2 months ago
  loss_mel = F.l1_loss(y_mel, y_hat_mel) * hps.train.c_mel
Process Process-1:
Traceback (most recent call last):
  File "C:\Users\X\Downloads\Applio\env\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\X\Downloads\Applio\env\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\X\Downloads\Applio\rvc\train\train.py", line 258, in run
    train_and_evaluate(
  File "C:\Users\X\Downloads\Applio\rvc\train\train.py", line 465, in train_and_evaluate
    loss_mel = F.l1_loss(y_mel, y_hat_mel) * hps.train.c_mel
  File "C:\Users\X\Downloads\Applio\env\lib\site-packages\torch\nn\functional.py", line 3297, in l1_loss
    expanded_input, expanded_target = torch.broadcast_tensors(input, target)
  File "C:\Users\X\Downloads\Applio\env\lib\site-packages\torch\functional.py", line 73, in broadcast_tensors
    return _VF.broadcast_tensors(tensors)  # type: ignore[attr-defined]
RuntimeError: The size of tensor a (23) must match the size of tensor b (13) at non-singleton dimension 2