[GH-ISSUE #2056] What should be the config for 44.1 training? #1392

Open
opened 2026-10-20 10:08:43 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @blaisewf on GitHub (May 14, 2024).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2056

Error:

  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

Tested here github.com/IAHispano/Applio@d551243789 (full branch https://github.com/IAHispano/Applio/tree/exp-44k-training)

Originally created by @blaisewf on GitHub (May 14, 2024). Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/2056 Error: ``` 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 ``` Tested here https://github.com/IAHispano/Applio/commit/d55124378974e7756282659270c94912c4ce39f6 (full branch https://github.com/IAHispano/Applio/tree/exp-44k-training)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#1392
No description provided.