Git Product home page Git Product logo

Comments (5)

alexcg1 avatar alexcg1 commented on June 18, 2024

Hello again! Did you get any error messages when you ran app.py? If so, could you try running

python app.py <blah> &> log.txt

&> will send all stdout and stderr messages to a file (assuming you're using a bash or zsh, I don't know about other weird shells) which would really help us find out the issue.

Cheers!

from examples.

khituras avatar khituras commented on June 18, 2024

Hi there! Sure. I just removed the image and got the issue again. I attach the output file resulting of the command python app.py &> log.txt.
log.txt

from examples.

alexcg1 avatar alexcg1 commented on June 18, 2024

Can confirm. I just tried running python app.py (with no other args) and got similar result. My log attached too for the dev team's reference

Note: I didn't actually follow any other steps in the example. Most of the yaml files seem to already exist without having to do anything except type python app.py <blah>

log.txt

from examples.

nan-wang avatar nan-wang commented on June 18, 2024

hi, there. This is due to the timeout_ready is not set properly, timeout_ready is set to 20000ms in app.py.

f = (Flow(callback_on_body=True)
     .add(name='spit', uses='Sentencizer')
     .add(name='encode', uses='jinaai/hub.executors.encoders.nlp.transformers-pytorch',
          parallel=2, timeout_ready=20000))

Another solution is to try to run the following to pull the image before running.

docker pull jinaai/hub.executors.encoders.nlp.transformers-pytorch

from examples.

JoanFM avatar JoanFM commented on June 18, 2024

Closing as per lack of activity

from examples.

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.