-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
requirements: /usr/src/requirements.txt not found, check failed. #11423
Comments
@fo250061 the message you are seeing is from PyTorch, not YOLOv5. It is warning you that it could not find the requirements.txt file usually used to track dependencies, but it is not necessary for this use case. You can safely ignore this warning. Regarding the error message you mentioned in your previous comment, could you please provide more context or the actual error message in order for us to better assist you? You can also check out https://docs.ultralytics.com/yolov5/troubleshooting/ for common errors and their solutions. |
docker run mycontainerimage:latest Fusing layers... |
@fo250061 It seem like you used the command Regarding the warning message If you encountered any other issues or errors, please provide us with more information, such as the error message itself, in order for us to better assist you. |
I loaded the weights (best.pt) that I trained. Everything works fine, just that I don't want to see that requirement's error message |
@fo250061, great to hear that everything is working fine! If you prefer to not see the PyTorch warning message in the log, you can suppress it by adding the following code before your warning message appears: import logging
# Add this line before the PyTorch log messages appear
logging.getLogger('yolov5').setLevel(logging.CRITICAL) This will suppress the logging messages from PyTorch in the Hope this helps! |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLO 🚀 and Vision AI ⭐ |
몰라요 |
@sangship i'm sorry, I can only assist in English. Could you please provide more details about your issue or question? |
Search before asking
YOLOv5 Component
No response
Bug
I am using the image: docker pull ultralytics/yolov5:latest-arm64 as my base image and my docker file looks like this:
To make things easy, my app only contains this line of code:
Each time the model gets loaded, I get this message=> requirements: /usr/src/requirements.txt not found, check failed.
Environment
ultralytics/yolov5:latest-arm64
Minimal Reproducible Example
docker run
Additional
N/A
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: