awslabs / multi-model-server

Multi Model Server is a tool for serving neural net models for inference
Apache License 2.0
998 stars 230 forks source link

Model archiver for MMS readme broken #898

Closed leezu closed 4 years ago

leezu commented 4 years ago
mkdir squeezenet

curl -o squeezenet https://s3.amazonaws.com/model-server/model_archive_1.0/examples/squeezenet_v1.1/squeezenet_v1.1-symbol.json
curl -o squeezenet https://s3.amazonaws.com/model-server/model_archive_1.0/examples/squeezenet_v1.1/squeezenet_v1.1-0000.params
curl -o squeezenet https://s3.amazonaws.com/model-server/model_archive_1.0/examples/squeezenet_v1.1/signature.json
curl -o squeezenet https://s3.amazonaws.com/model-server/model_archive_1.0/examples/squeezenet_v1.1/synset.txt

results in

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 28707    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file squeezenet: Is a directory
 57 28707   57 16360    0     0   121k      0 --:--:-- --:--:-- --:--:--  121k
curl: (23) Failed writing body (0 != 16360)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file squeezenet: Is a directory
  0 4829k    0 16360    0     0   173k      0  0:00:27 --:--:--  0:00:27  173k
curl: (23) Failed writing body (0 != 16360)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file squeezenet: Is a directory
100   137  100   137    0     0   2537      0 --:--:-- --:--:-- --:--:--  2537
curl: (23) Failed writing body (0 != 137)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file squeezenet: Is a directory
 51 31675   51 16360    0     0   231k      0 --:--:-- --:--:-- --:--:--  231k
curl: (23) Failed writing body (0 != 16360)

It's easy to fix the issue, for example by switching to wget or specifying -o option correctly

https://github.com/awslabs/multi-model-server/blob/master/model-archiver/README.md#creating-a-model-archive

vdantu commented 4 years ago

@leezu : Thanks for raising this issue. README will be fixed.