Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #957

Open
anakein opened this issue Jan 20, 2025 · 6 comments
Open

[Bug]: #957

anakein opened this issue Jan 20, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@anakein
Copy link

anakein commented Jan 20, 2025

Project Version

lastest version 3.2.8

Platform and OS Version

windwos 10 64bit

Affected Devices

all

Existing Issues

No response

What happened?

Only when i use pretrained models. same in all pretrained models issue

Using HiFi-GAN vocoder
Starting training...
Loaded pretrained (G) 'rvc\models\pretraineds\pretraineds_custom\G_Snowie-X-Rin_40k.pth'
Loaded pretrained (D) 'rvc\models\pretraineds\pretraineds_custom\D_Snowie-X-Rin_40k.pth'
Process Process-1:
Traceback (most recent call last):
File "D:\Applio\env\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\Applio\env\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "D:\Applio\rvc\train\train.py", line 548, in run
train_and_evaluate(
File "D:\Applio\rvc\train\train.py", line 663, in train_and_evaluate
wave = commons.slice_segments(
File "D:\Applio\rvc\lib\algorithm\commons.py", line 65, in slice_segments
ret[i] = x[i, :, idx_str:idx_end]
RuntimeError: The expanded size of the tensor (12800) must match the existing size (0) at non-singleton dimension 1. Target sizes: [1, 12800]. Tensor sizes: [0]

Steps to reproduce

...

Expected behavior

start training

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

@anakein anakein added the bug Something isn't working label Jan 20, 2025
@blaisewf
Copy link
Member

you are not using v3.2.3

@anakein
Copy link
Author

anakein commented Jan 20, 2025

git pull yesterday. 3.2.8, sorry

@AznamirWoW
Copy link
Contributor

Something is not right with your slicing / selected sample rate /etc

@blaisewf
Copy link
Member

git pull yesterday. 3.2.8, sorry

not 3.2.8, probably main branch

@anakein
Copy link
Author

anakein commented Jan 20, 2025

Something is not right with your slicing / selected sample rate /etc

without pretrained models work fine.

@anakein
Copy link
Author

anakein commented Jan 21, 2025

The problem appears when you select a subdirectory, when the previous directory also has audio files. The solution is to move the files to a new directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants