没有生成图像
Search before asking
- [x] I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
yolov5训练完成后没有显示train_batch0.jpg
Additional
No response
👋 Hello @cik-8672, 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 (MRE) to help us better understand and debug the issue. For this issue, an MRE might include the exact command you are running, your training configurations, and details about your environment (e.g., OS, Python, PyTorch version). Screenshots or logs demonstrating the problem would also be helpful! 😊
If this is a custom training ❓ Question, please provide as much information as possible, including dataset samples, training logs, and confirm that you followed our Tips for Best Training Results.
Requirements
Please ensure you are using Python>=3.8.0 with all requirements.txt packages installed, including PyTorch>=1.8. To get started:
git clone https://github.com/ultralytics/yolov5 # clone
cd yolov5
pip install -r requirements.txt # install
Environments
YOLOv5 is designed to run in a variety of environments. Please verify your setup using one of these methods:
- Notebooks with free GPU:
- Google Cloud Deep Learning VM: See our GCP Quickstart Guide
- Amazon Deep Learning AMI: See our AWS Quickstart Guide
- Docker Image: Check our Docker Quickstart Guide
Debugging Steps
For your specific case of train_batch0.jpg not appearing, please confirm the following:
- Verify your training process is running without errors and log messages do not show any issues.
- Check that the
--save-periodor--save-dirsettings are configured correctly to save visualizations and outputs. - Confirm that the directory where
train_batch*.jpgimages are saved (default is underruns/train/) exists and is accessible.
Status
If this badge is green, all YOLOv5 GitHub Actions Continuous Integration (CI) tests are currently passing. CI tests verify the correct operation of YOLOv5 across all functions, platforms, and configurations.
This is an automated response to point you in the right direction 😊. An Ultralytics engineer will follow up shortly to assist you further! 🚀
@cik-8672 thanks for reaching out! It appears you're having trouble locating the train_batch*.jpg images after training. These images are created during training to visualize a batch of training data, and if they aren't appearing, double check your training settings and ensure that the script is running correctly, also make sure you are using the most recent version of YOLOv5 as there have been updates to areas of the code such as the Comet Logging and Visualization Integration.
👋 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:
- Docs: https://docs.ultralytics.com
- HUB: https://hub.ultralytics.com
- Community: https://community.ultralytics.com
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 ⭐