Giter VIP home page Giter VIP logo

Comments (2)

plippe avatar plippe commented on May 29, 2024

Hi,

Really sorry for all the issues you are running into.

I have ran your commands, but I don't have the same results that you are having.

First make sure you have the latest version of the docker image by stopping and removing your current containers and images.

After run the docker image in interactive mode to see the logs. Those will be needed if there is an error to fix.

pvinchon$ docker run --rm -itp 5000:5000 plippe/faiss-web-service:1.2.1-cpu
Unable to find image 'plippe/faiss-web-service:1.2.1-cpu' locally
1.2.1-cpu: Pulling from plippe/faiss-web-service
22dc81ace0ea: Pull complete
1a8b3c87dba3: Pull complete
91390a1c435a: Pull complete
07844b14977e: Pull complete
b78396653dae: Pull complete
f48d20dabdb7: Pull complete
6ba01d80c8e2: Pull complete
a97934523920: Pull complete
25b70844e398: Pull complete
61a309d4d691: Pull complete
145881d8cd17: Pull complete
Digest: sha256:ad85c6a83aa3210ec983e8dec88ced0b2dd787833b0b00eeca12c94406cebaa3
Status: Downloaded newer image for plippe/faiss-web-service:1.2.1-cpu
Failed to load python module uwsgi
Periodic faiss index updates isn't enabled
Getting Faiss resources
Getting Faiss index
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
 * Restarting with stat
Failed to load python module uwsgi
Periodic faiss index updates isn't enabled
Getting Faiss resources
Getting Faiss index
 * Debugger is active!
 * Debugger PIN: 329-691-435

The container takes a few minutes to start as it must download resources. Running requests during that time will give the following response:

pvinchon$ curl 0.0.0.0:5000/ping
curl: (52) Empty reply from server 

Once fully loaded, the server will start responding:

pvinchon$ curl 0.0.0.0:5000/ping
pong

I use 0.0.0.0 as my docker host url, but this could be different on your machine. You will need to look up online how to obtain that information on your operating system.

I hope this helps.

from faiss-web-service.

plippe avatar plippe commented on May 29, 2024

No further answer, closing issue

from faiss-web-service.

Related Issues (15)

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.