aws-samples / aws-samples/amazon-sagemaker-local-mode
yolov5 sagemaker deploy
- Dominant language
- Python
- Stars
- 263
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
1.Hello, in amazon-sagemaker-local-mode/pytorch_yolov5_local_model_inference/, the local deploy will have this error,
ImportError: 'docker-compose' is not installed. Local Mode features will not work without docker-compose. For more information on how to install 'docker-compose', please, see https://docs.docker.com/compose/install/,
2.I took the recommended solution, but it didn't work (maybe I made a mistake),
3.I use curl -SL https: //github.com/docker/compose/releases/download/v2.17.2/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose,
4.the error is
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to open the file /usr/local/bin/docker-compose: Permission
Warning: denied
0 51.9M 0 1406 0 0 1780 0 8:29:52 --:--:-- 8:29:52 1780
curl: (23) Failure writing output to destination
Contributor guide
Research direction
Start in amazon-sagemaker-local-mode/pytorch_yolov5_local_model_inference/ and reproduce the local deployment to confirm the docker-compose error. Check the documented Docker Compose installation command and its write-permission failure; done means the dependency is installed and the local deployment runs without the ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker-compose, python, pytorch
- Domain
- cloud, devops, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100