facebookresearch / AnimatedDrawings

Code to accompany "A Method for Animating Children's Drawings of the Human Figure"
MIT License
10.53k stars 919 forks source link

Server response problem #248

Closed tigran-sargsyan-w closed 9 months ago

tigran-sargsyan-w commented 10 months ago

I would like to make my own animation and installed everything according to the recommendations and instructions that are on the page image and here is my docker container running As seen in the image image And now I move on to the point where I need to check the response from the server with command - curl http://localhost:8080/ping but unfortunately I don't receive any response from the server image I thought that maybe my computer was weak and I would have to wait a little longer, but I waited more than 5 minutes and realized that this problem was probably not related to the power of the computer, but to something else

Andy-Ren commented 10 months ago

maybe, your docker running is not well;
you can see log ,through : docker logs

hjessmith commented 10 months ago

Check and see if Torchserve still returns 'healthy' after you've queried it with Animated Drawings. My hunch is that it's dying during the query because it doesn't have enough resources. Please check some of the other closed issues pertaining to Torchserve on the github project to see how other users have handled this.