yolov5 icon indicating copy to clipboard operation
yolov5 copied to clipboard

没有生成图像

Open cik-8672 opened this issue 10 months ago • 2 comments

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

cik-8672 avatar Feb 19 '25 08:02 cik-8672

👋 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:

Debugging Steps

For your specific case of train_batch0.jpg not appearing, please confirm the following:

  1. Verify your training process is running without errors and log messages do not show any issues.
  2. Check that the --save-period or --save-dir settings are configured correctly to save visualizations and outputs.
  3. Confirm that the directory where train_batch*.jpg images are saved (default is under runs/train/) exists and is accessible.

Status

YOLOv5 CI

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! 🚀

UltralyticsAssistant avatar Feb 19 '25 08:02 UltralyticsAssistant

@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.

pderrenger avatar Feb 20 '25 16:02 pderrenger

👋 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 ⭐

github-actions[bot] avatar Oct 10 '25 00:10 github-actions[bot]