Skip to content
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

没有生成图像 #13514

Open
1 task done
cik-8672 opened this issue Feb 19, 2025 · 2 comments
Open
1 task done

没有生成图像 #13514

cik-8672 opened this issue Feb 19, 2025 · 2 comments
Labels
question Further information is requested

Comments

@cik-8672
Copy link

Search before asking

Question

yolov5训练完成后没有显示train_batch0.jpg

Additional

No response

@cik-8672 cik-8672 added the question Further information is requested label Feb 19, 2025
@UltralyticsAssistant
Copy link
Member

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

@pderrenger
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants