Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty reply after enhancement process #53

Open
AlexKalopsia opened this issue Jan 2, 2022 · 1 comment
Open

Empty reply after enhancement process #53

AlexKalopsia opened this issue Jan 2, 2022 · 1 comment

Comments

@AlexKalopsia
Copy link

AlexKalopsia commented Jan 2, 2022

I use the command curl -F "image=@D:\MyImages\small.jpg" -XPOST http://localhost:5000/model/predict > enhanced.png

and it results in

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 88713    0     0  100 88713      0  12673  0:00:07  0:00:07 --:--:--     0
curl: (52) Empty reply from server

This also results in the docker image going down, so I have to re-run the container again.

172.17.0.1 - - [02/Jan/2022 15:52:20] "GET / HTTP/1.1" 200 -
172.17.0.1 - - [02/Jan/2022 15:52:20] "GET /swagger.json HTTP/1.1" 200 -
172.17.0.1 - - [02/Jan/2022 15:52:42] "GET /model/predict HTTP/1.1" 404 -
172.17.0.1 - - [02/Jan/2022 15:52:42] "GET /favicon.ico HTTP/1.1" 404 -
2022-01-02 15:53:16.333058: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 164864000 exceeds 10% of system memory.
2022-01-02 15:53:16.781747: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 164864000 exceeds 10% of system memory.
2022-01-02 15:53:16.866100: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 164864000 exceeds 10% of system memory.
2022-01-02 15:53:16.866182: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 164864000 exceeds 10% of system memory.
2022-01-02 15:53:16.973559: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 659456000 exceeds 10% of system memory.
Killed
@kmh4321
Copy link
Contributor

kmh4321 commented Mar 9, 2022

Please allocate higher memory to the Docker container in Docker settings and try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants