openvpi / DiffSinger

An advanced singing voice synthesis system with high fidelity, expressiveness, controllability and flexibility based on DiffSinger: Singing Voice Synthesis via Shallow Diffusion Mechanism
Apache License 2.0
2.62k stars 275 forks source link

onnx exports to incorrect folder #178

Closed agentasteriski closed 3 months ago

agentasteriski commented 3 months ago

command given: python scripts/export.py acoustic --exp F:\DiffSinger\ds_training_gui\DiffSinger\checkpoints\AC3\aco --out F:\DiffSinger\ds_training_gui\DiffSinger\checkpoints\AC3\aco\onnx

the resulting files are instead located in F:\DiffSinger\ds_training_gui\DiffSinger\checkpoints\AC3 with a prefix of aco. this pattern repeats with different folder names- the files consistently export to one folder level above the checkpoint with a prefix matching the checkpoint folder. the intended export folder is created if necessary, but otherwise not acknowledged.

yqzhishen commented 3 months ago

--exp should be the folder name or folder name prefix in your checkpoints/ directory. Inputting an absolute path as exp is an undefined behavior and will cause unexpected results, but when using it the right way it works as expected.