Skip to content

能不能支持RVC模型 #2316

Description

@XO-DD

Acknowledgement

  • I have read Getting-Started and FAQ

Description of the new feature / enhancement

能不能支持RVC模型(或尝试修复这个报错),我在尝试用别的github项目RVC转OPENUTAU后有渲染错误(已经在这个项目上反馈)

渲染失败
One or more errors occurred. (One or more errors occurred. ([ErrorCode:InvalidGraph] This is an invalid model. In Node, ("/ReduceL2", ReduceL2, "", -1) : ("/Gather_output_0": tensor(float),) -> ("/ReduceL2_output_0",) , Error Unrecognized attribute: axes for operator ReduceL2))

System.AggregateException: One or more errors occurred. (One or more errors occurred. ([ErrorCode:InvalidGraph] This is an invalid model. In Node, ("/ReduceL2", ReduceL2, "", -1) : ("/Gather_output_0": tensor(float),) -> ("/ReduceL2_output_0",) , Error Unrecognized attribute: axes for operator ReduceL2))
 ---> System.AggregateException: One or more errors occurred. ([ErrorCode:InvalidGraph] This is an invalid model. In Node, ("/ReduceL2", ReduceL2, "", -1) : ("/Gather_output_0": tensor(float),) -> ("/ReduceL2_output_0",) , Error Unrecognized attribute: axes for operator ReduceL2)
 ---> Microsoft.ML.OnnxRuntime.OnnxRuntimeException: [ErrorCode:InvalidGraph] This is an invalid model. In Node, ("/ReduceL2", ReduceL2, "", -1) : ("/Gather_output_0": tensor(float),) -> ("/ReduceL2_output_0",) , Error Unrecognized attribute: axes for operator ReduceL2
   at Microsoft.ML.OnnxRuntime.InferenceSession.Init(Byte[] modelData, SessionOptions options, PrePackedWeightsContainer prepackedWeightsContainer)
   at OpenUtau.Core.Onnx.getInferenceSession(Byte[] model, OnnxRunnerChoice runnerChoice) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Util\Onnx.cs:line 143
   at OpenUtau.Core.DiffSinger.DsVocoder..ctor(String name) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DiffSinger\DiffSingerVocoder.cs:line 43
   at OpenUtau.Core.DiffSinger.DiffSingerSinger.getVocoder() in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DiffSinger\DiffSingerSinger.cs:line 178
   at OpenUtau.Core.DiffSinger.DiffSingerRenderer.InvokeDiffsinger(RenderPhrase phrase, Double depth, Int32 steps, CancellationTokenSource cancellation) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DiffSinger\DiffSingerRenderer.cs:line 152
   at OpenUtau.Core.DiffSinger.DiffSingerRenderer.<>c__DisplayClass16_0.<Render>b__0() in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DiffSinger\DiffSingerRenderer.cs:line 122
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at OpenUtau.Core.Render.RenderEngine.RenderRequests(RenderPartRequest[] requests, CancellationTokenSource cancellation, Boolean playing) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Render\RenderEngine.cs:line 235
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---

0.1.568.0

Proposed technical implementation details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions