Closed johsbk closed 4 years ago
I have the same issue
Thanks for reporting this. The root cause of this was a stale container image. It must be fixed now
$ docker run -itd --name mms -p 80:8080 -p 8081:8081 awsdeeplearningteam/multi-model-server multi-model-server --start --models squeezenet=https://s3.amazonaws.com/model-server/model_archive_1.0/squeezenet_v1.1.mar
Unable to find image 'awsdeeplearningteam/multi-model-server:latest' locally
latest: Pulling from awsdeeplearningteam/multi-model-server
5c939e3a4d10: Pull complete
c63719cdbe7a: Pull complete
19a861ea6baf: Pull complete
651c9d2d6c4f: Pull complete
bb06cfbea42e: Pull complete
03d1540bb94a: Pull complete
17d6f3fcc82e: Pull complete
83cb75d883c5: Pull complete
aa38cc4d47bd: Pull complete
fe0de0c5ec19: Pull complete
78c6316aa925: Pull complete
9316b2f9d709: Pull complete
Digest: sha256:b441cc6ec7ea882fbef85162b07c9f2ced6b935eaf70e8d085e0f47218a0263e
Status: Downloaded newer image for awsdeeplearningteam/multi-model-server:latest
e11ae8d0957bd81a4a47ca3cecfc1bf8c8cdf72c47f7787a28b88e2a7fb9ecd9
$ curl -X POST localhost/predictions/squeezenet -T kitten.jpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[
{
"probability": 0.8582232594490051,
"class": "n02124075 Egyptian cat"
},
{
"probability": 0.09159987419843674,
"class": "n02123045 tabby, tabby cat"
},
{
"probability": 0.0374876894056797,
"class": "n02123159 tiger cat"
},
{
"probability": 0.006165083032101393,
"class": "n02128385 leopard, Panthera pardus"
},
{
"probability": 0.0031716004014015198,
"class": "n02127052 lynx, catamount"
}
100 108k 100 454 100 108k 1189 284k --:--:-- --:--:-- --:--:-- 284k
I will resolve this for now. Please feel free to raise it if you see this issue again.
@raxshah : did this fix your issue.
@vdantu Thanks for a quick update. Yes, it resolved
When I try to run the example described in the documentation i get the following:
However if I build https://github.com/awslabs/multi-model-server/blob/master/docker/Dockerfile.cpu locally it works fine.