Closed StudyingLover closed 1 year ago
👋 Hello @StudyingLover, 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
To be more precise, the loss on the validation set is empty.
After checking, we found that there was a problem with the autodl.com mirror. Delete the code and re-git clone to solve the problem.
@StudyingLover thank you for bringing this issue to our attention. We apologize for any inconvenience you may have experienced.
Based on the information you provided, it seems that there was an issue with the autodl.com
mirror. To address this problem, we recommend deleting the existing code and re-cloning the repository to ensure a fresh copy.
Please follow these steps to resolve the problem:
git clone https://github.com/ultralytics/yolov5
This should provide you with a clean copy of the YOLOv5 codebase and resolve the issue you encountered with the loss on the validation set being empty.
If you have any further questions or need additional assistance, please feel free to ask.
Search before asking
YOLOv5 Component
Training
Bug
Hello,I am a loyal user of yolov5. Recently I was doing an experiment using yolov5 for target detection. I use a 3080ti cloud server and a 4060 personal computer for training. In addition, I made modifications to the model. The modified files are as follows.I named it small.yaml.
I also created a data.yaml and placed the information of my dataset
I ran the following two commands on the server to train the model
and
I got result.png as follows
Maybe you think this is because the training times are too few. I will provide you with the training results on 4090 below with samll.yaml.
In order to avoid this, I used 3080 to train the same number of times, with and without small.yaml
Environment
4090 Python Version: 3.11.3 Torch Version: 2.0.1+cu117 System Version: Linux YOLOV5: lealatest
3080ti Python Version: 3.8.10 Torch Version: 1.9.0+cu111 System Version: Linux YOLOV5: commit hash is
50ff6eee31c72fe88bdd35fc7299b201cce0e9a6
3080 Python Version: 3.8.10 Torch Version: 1.9.0+cu111 System Version: Linux YOLOV5: lealatest
Minimal Reproducible Example
I made modifications to the model. The modified files are as follows.I named it small.yaml.
run
and
Additional
No response
Are you willing to submit a PR?