Closed anewworl closed 9 months ago
@anewworl this error seems to be related to a connection issue when running the YOLOv5 segmentation predict file without an internet connection. The error trace indicates that there is a failure to establish a connection with 'huggingface.co'.
The YOLOv5 segmentation predict file may require an internet connection to download certain resources or models from external sources. If you're unable to establish an internet connection, it can lead to this error.
To resolve this issue, ensure that you have an active internet connection when running the YOLOv5 segmentation predict file. Alternatively, you can check if there are alternative ways to provide the required resources or models offline.
Please note that YOLOv5 is an open-source project developed by the YOLO community and maintained by the Ultralytics team. If you encounter any further issues or have any other questions, feel free to ask. Contributions in the form of a pull request are also welcome!
Thank you for your contribution and support in improving YOLOv5!
👋 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 ⭐
Search before asking
YOLOv5 Component
No response
Bug
Environment
No response
Minimal Reproducible Example
from yolov5.segment.predict import run
run(weights='best.pt',data='data.yaml', source=1, view_img=True)
Additional
So when i run the yolov5 segmentation predict file with out the internet connection the error above seem to be appeared. I don't know if this is a feature or a bug. I have try to run the same code with yolov5/detect.py but it seem to run fine without the internet connection.
Are you willing to submit a PR?