mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-11-05 00:27:30 +00:00
[GH-ISSUE #1469] Possible issue with model output resampling #952
Labels
No labels
AMD/Intel
bug
bug
bug
colab
dependencies
documentation
duplicate
enhancement
following up
good first issue
help wanted
invalid
question
stale
stale
stale
todo list
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
RVC-Project/Retrieval-based-Voice-Conversion-WebUI#952
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThePhosphorus on GitHub (Oct 24, 2023).
Original GitHub issue: https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI/issues/1469
Hello,
let me start by saying great job on the work you did here.
I've been working on making your model compatible with torchscript, but I am confused about specific lines of code.
mainly in
infer/modules/vc/pipeline.py:445,modules.py:211andinfer/modules/vc/modules.py:211It does not seem to do what it is intended to do (it compares
tgt_sr != resample_srthen compares the boolean to16000.@houyafei commented on GitHub (Apr 17, 2024):
tgt_sr != resample_sr >= 16000 应该是等价于
tgt_sr != resample_sr and resample_sr >= 16000
@houyafei commented on GitHub (Apr 17, 2024):
你是怎么把模型转换为torchScript,就是这个项目中使用到的模型,还有自己训练出来的模型。
可以加一下联系方式吗 yafeihou@sina.com是我的邮件
@ThePhosphorus commented on GitHub (Apr 19, 2024):
Hi. In order to convert the model to Torchscript. I wre-wrote all components that did not work with Torchscript. then, I imported the weights from the given models and transferred them to the new nn modules.
While I was successful in converting some parts of the model in Torchscript. I dropped the project when I had to convert the f0 extraction to Torchscript.