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

Error when attempting to train #1

Open
dillfrescott opened this issue Jul 22, 2024 · 3 comments
Open

Error when attempting to train #1

dillfrescott opened this issue Jul 22, 2024 · 3 comments

Comments

@dillfrescott
Copy link

 [DDSP Model] Minimum-Phase harmonic Source Combtooth Subtractive Synthesiser
Traceback (most recent call last):
  File "C:\Users\cross\Downloads\MNP-SVC\train.py", line 48, in <module>
    model = CombSubMinimumNoisedPhase(
  File "C:\Users\cross\Downloads\MNP-SVC\modules\vocoder.py", line 191, in __init__
    self.register_buffer("use_add_noise_env", torch.tensor(use_add_noise_env))
RuntimeError: Could not infer dtype of NoneType
@dillfrescott
Copy link
Author

It fixes it if i comment out this line

self.register_buffer("use_add_noise_env", torch.tensor(use_add_noise_env))

But I have no idea if that will break the entire result or not

@dillfrescott
Copy link
Author

Yeah that breaks the inference. I'm lost as to what to do.

@TylorShine
Copy link
Owner

Thanks for your report and So sorry for late reply. I didn't think the versioning, because I thought this repo is for researching...!
But I planning to versioning to this repo. I have already updated the repo to v2. You can update it and use it if you want!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants