Closed amperesz closed 11 months ago
👋 Hello @amperesz, 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
@amperesz in order to see the progress of a train execution in a Jupyter Notebook, you can enable the logging feature in YOLOv5. By default, the logging level is set to "info", but you can increase the verbosity to get more detailed progress updates.
To do so, modify your code as follows:
import logging
logging.basicConfig(level=logging.DEBUG) # Add this line before running yolov5/train.py
By adding the logging.basicConfig(level=logging.DEBUG)
line of code before running yolov5/train.py
, you will enable the debug level logging, which will print more detailed progress updates during the training process.
Please give this a try and let us know if you have any further questions.
hi @glenn-jocher it has been running for 15 minutes and there is no difference
Hi there @amperesz! Thank you for reaching out.
It looks like the training process has been running for 15 minutes without any noticeable progress. There could be a few reasons for this.
First, please check the size of your dataset. If you have a large dataset, it may take some time to process and train the model. Also, make sure that your training parameters such as batch size, number of epochs, and learning rate are set appropriately for your dataset and model.
Additionally, please ensure that your hardware, such as the CPU or GPU, is properly configured and has sufficient resources to handle the training workload. Sometimes, insufficient resources can cause delays in the training process.
If you've reviewed these aspects and are still experiencing issues, please provide more details about your dataset, training parameters, and hardware configuration so that we can better assist you.
👋 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 ⭐
👋 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
Question
I have to train a model, and when I run train.py in Google Colab, I can see the training progress. However, when I run the jupyter notebook in an Anaconda environment, the progress is not visible. My code has been running for over an hour and hasn't printed anything. What could be wrong?
i expect something like this:
Additional
I have already installed the requirements.txt file.
the command i run is:
!python yolov5/train.py --img 640 --batch 16 --epochs 100 --data yolov5/data.yaml --cfg yolov5/models/yolov5s.yaml --weights yolov5/yolov5s.pt --cache