-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
what's going on yolo v5? #13122
Comments
👋 Hello @PKAV69, 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. RequirementsPython>=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 EnvironmentsYOLOv5 may be run in any of the following up-to-date verified environments (with all dependencies including CUDA/CUDNN, Python and PyTorch preinstalled):
StatusIf 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. Introducing YOLOv8 🚀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 |
@PKAV69 hello, Thank you for reaching out and for providing detailed information about the issues you're encountering. Let's work through this together to get you up and running with YOLOv5. Steps to Resolve:
Example Command for Training:Here is an example command to start training with YOLOv5 on a single GPU: python train.py --batch 64 --data coco.yaml --weights yolov5s.pt --device 0 For multi-GPU training using DistributedDataParallel (recommended): python -m torch.distributed.run --nproc_per_node 2 train.py --batch 64 --data coco.yaml --weights yolov5s.pt --device 0,1 Additional Resources:For more detailed instructions on multi-GPU training, please refer to our Multi-GPU Training Guide. If you continue to experience issues, please provide the specific error messages or logs from your Thank you for your patience and for being part of the YOLO community! 🚀 |
Thank you for your reply. |
Hello @PKAV69, Thank you for your detailed follow-up. Let's address your concerns and ensure you have a smooth setup for YOLOv5. Python and Package Compatibility
Recommended Setup
Addressing TensorFlow Concerns
Example Training CommandOnce your environment is set up, you can start training with the following command: python train.py --batch 64 --data coco.yaml --weights yolov5s.pt --device 0 For multi-GPU training using DistributedDataParallel: python -m torch.distributed.run --nproc_per_node 2 train.py --batch 64 --data coco.yaml --weights yolov5s.pt --device 0,1 Additional ResourcesFor more detailed instructions on multi-GPU training, please refer to our Multi-GPU Training Guide. Next StepsIf you encounter any specific errors, please provide a minimum reproducible code example and the exact error messages. This will help us diagnose and resolve the issues more effectively. You can follow the guidelines here: Minimum Reproducible Example. Thank you for your patience and for being part of the YOLO community! 🚀 |
Search before asking
Question
I have spent seven or eight hours and encountered various problems, such as incompatible python packages or incompatible python versions that prevented the package from being installed in a lower version. I tried versions 3.7-3.11, but there are still many problems.I have allocated 20 GB of virtual memory.Because there are too many errors, only the attachment form can be used
bug.txt
Additional
python 3.8.0
tensorboard 2.14.0
tensorboard-data-server 0.7.2
tensorflow 2.6.0
tensorflow-estimator 2.15.0
tensorflow-gpu 2.6.0
torch 1.8.0+cu111
torchvision 0.9.0+cu111
numpy 1.23.4
Pillow 9.5.0
The text was updated successfully, but these errors were encountered: