mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 07:02:57 +08:00
Add onnx providers
This commit is contained in:
parent
c686192f26
commit
7def70d951
@ -85,7 +85,7 @@ class G2PWOnnxConverter:
|
||||
sess_options.intra_op_num_threads = 2
|
||||
self.session_g2pW = onnxruntime.InferenceSession(
|
||||
os.path.join(uncompress_path, 'g2pW.onnx'),
|
||||
sess_options=sess_options)
|
||||
sess_options=sess_options,providers=['CPUExecutionProvider'])
|
||||
self.config = load_config(
|
||||
config_path=os.path.join(uncompress_path, 'config.py'),
|
||||
use_default=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user