1
0
mirror of synced 2024-11-23 23:21:03 +01:00

Add files via upload

This commit is contained in:
RVC-Boss 2023-08-30 19:02:41 +08:00 committed by GitHub
parent 9a4b4d0271
commit 2419d5e1a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
import pdb
import pdb,os
import numpy as np
import torch
@ -577,7 +577,7 @@ class RMVPE:
import onnxruntime as ort
ort_session = ort.InferenceSession(
"rmvpe.onnx", providers=["DmlExecutionProvider"]
"%s/rmvpe.onnx"%os.environ["rmvpe_root"], providers=["DmlExecutionProvider"]
)
self.model = ort_session
else: