We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When you try to run the OVMS on the container:
docker run --rm -v /opt/models/:/opt/ml:ro -p 9001:9001 -p 8001:8001 clearlinux/stacks-dlrs-mkl:v0.4.0 /workspace/scripts/serve.sh ie_serving model --model_path /opt/ml/resnet_V1_50 --model_name resnet50 --port 9001 --rest_port 8001
You get
standard_init_linux.go:211: exec user process caused "exec format error"
This is because the /workspace/scripts/serve.sh is missing the bangline (#!/bin/sh)
/workspace/scripts/serve.sh
dockerfiles/stacks/dlrs/mkl/scripts/serve.sh
Line 1 in 52b2efd
The text was updated successfully, but these errors were encountered:
@poussa: Thanks for your report.
Please use the following workaround to run the OVMS on your container (if you aren't already using one of your own):
docker run --rm -v /opt/models/:/opt/ml:ro -p 9001:9001 -p 8001:8001 clearlinux/stacks-dlrs-mkl:v0.4.1 /bin/bash -c "source /.bashrc && /workspace/scripts/serve.sh ie_serving model --model_path /opt/ml/resnet_V1_50 --model_name resnet50 --port 9001 --rest_port 8001"
Note that this is using the image version v0.4.1, which can be obtained with
docker pull clearlinux/stacks-dlrs-mkl:v0.4.1
We will implement an appropriate fix in the next image version.
Sorry, something went wrong.
No branches or pull requests
When you try to run the OVMS on the container:
You get
This is because the
/workspace/scripts/serve.sh
is missing the bangline (#!/bin/sh)dockerfiles/stacks/dlrs/mkl/scripts/serve.sh
Line 1 in 52b2efd
The text was updated successfully, but these errors were encountered: