-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
exec /app/start.sh: no such file or directory #6746
Comments
Hi there! Thank you for reaching out.
This issue is commonly caused by Windows' handling of line endings in text files, which can affect scripts like
By following these steps, you should be able to resolve the
Thanks, Tyler Conlee
|
YOLO Model Connected, But No Predictions Output
Hi
I hope this message finds you well. I’ve successfully connected the YOLO
model, and the setup seems fine. However, I’m currently facing an issue
where predictions are not being generated after running inference.
Thank you for your assistance!
Best regards,
Jyothi
…On Thu, Dec 5, 2024 at 11:52 PM Heidi ***@***.***> wrote:
Hi there!
Thank you for reaching out.
I'm sorry to hear that you're encountering this error when connecting the
YOLO model using Docker:
exec /app/start.sh : No such file or directoryExited with code 1
This issue is commonly caused by Windows' handling of line endings in text
files, which can affect scripts like start.sh used in Docker containers.
To resolve this issue, please follow these steps:
-
*Adjust Git Configuration*
Before cloning the repository, configure Git to prevent automatic
conversion of line endings. Open Git Bash or your preferred terminal and
run:
git config --global core.autocrlf false
-
*Re-clone the Repository*
If you've already cloned the repository, you'll need to delete your
existing local copy and clone it again to ensure the line endings are
preserved correctly.
-
Delete your existing local clone of the repository.
-
Run the following command to clone the repository again:
git clone https://github.com/HumanSignal/label-studio-ml-backend.git
-
*Build and Run the Docker Containers*
Navigate to the directory containing the Dockerfile and
docker-compose.yml files (for the YOLO model), and then run:
docker-compose build docker-compose up
By following these steps, you should be able to resolve the start.sh
error and successfully connect the YOLO model using Docker.
For more details, please refer to the troubleshooting section in our
documentation:
- Label Studio ML Backend - Troubleshooting Docker Build on Windows
Please let me know if you have any questions or if the issue persists.
Thanks,
Tyler Conlee
Head of Support
HumanSignal
Comment by Tyler Conlee
Workflow Run
<https://github.com/HumanSignal/label-studio/actions/runs/12185738645>
—
Reply to this email directly, view it on GitHub
<#6746 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNES5BZ7P4PFKYFEBMZ3KJT2ECKW5AVCNFSM6AAAAABS5LR5NKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRRGEYTEMJUG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello, Would you mind sharing your template and prediction structure? Predictions JSON should be very similar to the annotation JSON. Thank you,
|
When connecting yolo model on docker getting these error
The text was updated successfully, but these errors were encountered: