Closed AnnacKK closed 10 months ago
π Hello @AnnacKK, thank you for your interest in YOLOv5 π! Please visit our βοΈ Tutorials to get started, where you can find quickstart guides for simple tasks like Custom Data Training all the way to advanced concepts like Hyperparameter Evolution.
If this is a π Bug Report, please provide a minimum reproducible example to help us debug it.
If this is a custom training β Question, please provide as much information as possible, including dataset image examples and training logs, and verify you are following our Tips for Best Training Results.
Python>=3.8.0 with all requirements.txt installed including PyTorch>=1.8. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
YOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify correct operation of YOLOv5 training, validation, inference, export and benchmarks on macOS, Windows, and Ubuntu every 24 hours and on every commit.
We're excited to announce the launch of our latest state-of-the-art (SOTA) object detection model for 2023 - YOLOv8 π!
Designed to be fast, accurate, and easy to use, YOLOv8 is an ideal choice for a wide range of object detection, image segmentation and image classification tasks. With YOLOv8, you'll be able to quickly and accurately detect objects in real-time, streamline your workflows, and achieve new levels of accuracy in your projects.
Check out our YOLOv8 Docs for details and get started with:
pip install ultralytics
@AnnacKK hi,
Thank you for reaching out and reporting the issue. The error you're experiencing, urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006)>
, is related to the SSL certificate verification for the Arial.ttf font file download.
Please try the following steps to resolve the issue:
git pull
or cloning it again using git clone https://github.com/ultralytics/yolov5
.certifi
library installed. You can update it by running pip install --upgrade certifi
.C:\Users\miran\AppData\Roaming\Ultralytics\
directory.Please give these steps a try and let me know if the issue is resolved. If not, feel free to provide additional information or ask further questions.
Thank you for your contribution!
Kind regards,
@glenn-jocher Hi! 3 step helped, thank you so much!
@AnnacKK you're welcome! I'm glad to hear that the issue has been resolved. If you have any more questions or encounter any further issues, feel free to ask for assistance. Great job, and thank you for your understanding and patience.
Kind regards,
I just had the same problem and Step 3 helped to solve it, @glenn-jocher thankss!
@Neisser, that's great to hear! If you need any more help or have questions in the future, don't hesitate to reach out. Happy coding! π
Search before asking
YOLOv5 Component
Training
Bug
Hi! I am trying to training YOLO on custom dataset (custom.yaml) following tutorial and get error above. I reinstalled anaconda and python, installed certifi library but it didn't work.
!cd yolov5 && python train.py --img 600 --epochs 3 --data custom.yaml --weights yolov5s.pt
Error:Environment
-YOLOv5 v7.0-228-g4d687c8 Python-3.11.5 torch-2.1.0+cpu CPU
Minimal Reproducible Example
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006)
Additional
Model works fine it use as transfer learning model like this:
Also, cetrifi already installed
Are you willing to submit a PR?