Giter Site home page Giter Site logo

Hi, I am trying to load the model once and then predict to stdout as the input is fed to stdin. I cannot find any module in the python package to do this. about openkiwi HOT 4 CLOSED

Bhavani01 avatar Bhavani01 commented on August 20, 2024
Hi, I am trying to load the model once and then predict to stdout as the input is fed to stdin. I cannot find any module in the python package to do this.

from openkiwi.

Comments (4)

captainvera avatar captainvera commented on August 20, 2024

Hey @Bhavani01,

We have no specific module for doing this. You would have to write a wrapper to our prediction interface to do this. You can find the documentation for our Python API, here. Note: Mind you I just spotted a small typo in our docs, the example should be a dict and not a list.

You would need to have a python scripts that loads the model once, and then continuously reads from stdin and creates the dicts as shown in the documentation.

from openkiwi.

Bhavani01 avatar Bhavani01 commented on August 20, 2024

Hi,
If we modiy the code to enable this, would you be willing to accept a pull request with the changes?
Thanks
Bhavani

from openkiwi.

captainvera avatar captainvera commented on August 20, 2024

Hey,
yes of course. As long as these things are done according to these guidelines we encourage contributions!

from openkiwi.

daandouwe avatar daandouwe commented on August 20, 2024

Closed due to inactivity.

from openkiwi.

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.