Giter Site home page Giter Site logo

Python Demo Error about sherpa-onnx HOT 7 CLOSED

wukonggeo avatar wukonggeo commented on June 5, 2024
Python Demo Error

from sherpa-onnx.

Comments (7)

csukuangfj avatar csukuangfj commented on June 5, 2024

please follow the FAQs in the doc to.use UTF8 encoding.

from sherpa-onnx.

wukonggeo avatar wukonggeo commented on June 5, 2024

Thank you for your reply,It works.How can i use python code to run the model whitout use the cmd command?

from sherpa-onnx.

csukuangfj avatar csukuangfj commented on June 5, 2024

please see the python-api-examples folder

from sherpa-onnx.

wukonggeo avatar wukonggeo commented on June 5, 2024

I have checked the relevant code-offline-tts.py,how can i encode the text to UTF-8 in python code, not by system? Where should I change the src code?

from sherpa-onnx.

csukuangfj avatar csukuangfj commented on June 5, 2024

Where should I change the src code?

You don't need to do anything.

Please first run it. If you have any issues, please post error logs.

from sherpa-onnx.

wukonggeo avatar wukonggeo commented on June 5, 2024

The system environment has been changed to UTF-8 and demo test was successful. But I don't want to change the system encoding.Can't directly pass the UTF-8 encoding data to the model by using python?

from sherpa-onnx.

csukuangfj avatar csukuangfj commented on June 5, 2024

please post your error logs.

from sherpa-onnx.

Related Issues (20)

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.