Giter Site home page Giter Site logo

llmkira / vitsserver Goto Github PK

View Code? Open in Web Editor NEW
115.0 6.0 6.0 2.23 MB

🌻 VITS ONNX TTS server designed for fast inference 🔥

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.39% Python 94.03% Jupyter Notebook 5.11% Shell 0.47%
vits onnxruntime onnx so-vits-svc tts tts-api

vitsserver's People

Contributors

lss233 avatar sudoskys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vitsserver's Issues

Update Readme

  • 模型目录结构的tree图
  • 一些附加说明和删改
  • 关于批次推理的说明

onnxruntime ScatterND_3243 error

when I run pth2onnx.py, change pth to onnx,it occurs error below:

/usr/local/lib64/python3.6/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py:56: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'CPUExecutionProvider'
"Available providers: '{}'".format(name, ", ".join(available_provider_names)))
2023-07-17 14:04:22.586812890 [E:onnxruntime:, sequential_executor.cc:346 Execute] Non-zero status code returned while running ScatterND node. Name:'ScatterND_3243' Status Message: invalid indice found, indice = -1
Traceback (most recent call last):
File "pth2onnx.py", line 150, in
return_bytes=True
File "pth2onnx.py", line 139, in warp_pth
write_down=True)
File "pth2onnx.py", line 125, in convert_model
onnx_output = RunONNX(model=onnx_model, providers=providers).run(model_input=ort_inputs)
File "/data/user/liukai/test/tts/VitsServer-main/onnx_infer/utils/onnx_utils.py", line 42, in run
input_feed=model_input
File "/usr/local/lib64/python3.6/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 192, in run
return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Non-zero status code returned while running ScatterND node. Name:'ScatterND_3243' Status Message: invalid indice found, indice = -1

what's the problem?Who can help me?

ONNX converting issues

Hello, I faced these errors while converting to onnx

TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
assert (discriminant >= 0).all()
Warning: Constant folding - Only steps=1 can be constant folded for opset >= 10 onnx::Slice op. Constant folding not applied.
WARNING: The shape inference of prim::Constant type is missing, so it may result in wrong shape inference for the exported graph. Please consider adding it in symbolic function.

What may be wrong? Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.