Comments (5)
Did you export your ONNX model with the right version of PyTorch (1.13)?
from diffsinger.
Yes, 1.13 can be converted correctly The latest torch 2.2 is now mainstream, and the tool for creating training data some.sofa can only be used with pytorch 2.2.Since torch itself takes up a lot of space, installing multiple versions is also a hassle.
from diffsinger.
So you confirm your model is exported under PyTorch 1.13, and is used with the latest version of OpenUTAU? Please note that the ONNX exporter is only expected to work under PyTorch 1.13, and under other version it may break even if it seems to run successfully. Have you tried other projects? Does every project raise this error?
from diffsinger.
Yes, onnx exported with pytorch 1.13 can be used.pytorch2 cannot be reshaped and is exported, but cannot be used.
from diffsinger.
I can now confirm that you exported the model with PyTorch 2.2, because I tried PyTorch 2.2 and reproduced your error. This is due to a bug of PyTorch itself, and I will not fix it.
Anyway, I have told you that exporting the model sucessfully does not mean the model is correct, and PyTorch 1.13 is the only version that is tested and verified. Please install PyTorch 1.13 to export the model. Only the CPU-only version is enough so it will not take much space.
from diffsinger.
Related Issues (20)
- Support tension and voicing
- TypeError running variance inference (previously working) HOT 1
- ONNX inference 'depth' parameter HOT 6
- onnx exports to incorrect folder HOT 1
- Strange humming sound during `SP` & `AP` HOT 3
- Inference from OpenUTAU USTx -> DiffSinger DS not Carrying Over Parameters HOT 1
- AttributeError on ReFlow HOT 1
- Tracking: development around Rectified Flow HOT 3
- Export Acoustic Model Error:"size mismatch for fs2.txt_embed.weight" HOT 1
- Custom Trained DiffSinger Render Failed HOT 1
- 是否可以更改模型架构或者其他方式提升合成音质? HOT 6
- Is removing background noise from audio beneficial to the quality of DiffSinger? HOT 2
- Question regarding pitch models (Reflow vs DDPM) HOT 3
- 关于唱法模型数据集 HOT 1
- Effects of transitioning mel_base from '10' to 'e' HOT 2
- In automatic optimization, `training_step` must return a Tensor, a dict, or None (where the step will be skipped). HOT 6
- ONNX Inference Scripts Documentation HOT 5
- Error training variance model HOT 3
- DiffSinger 制作合唱 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffsinger.