ultralytics / ultralytics

NEW - YOLOv8 πŸš€ in PyTorch > ONNX > OpenVINO > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
24.46k stars 4.86k forks source link

How to stop Plotting in yolov8 #10143

Closed ronit450 closed 3 days ago

ronit450 commented 1 month ago

Search before asking

Question

I have RGBD data which I want to train. I have made changes in the model and after the first epoch, the training stops. The error lies in the plotting

Additional

image image image

glenn-jocher commented 1 month ago

@ronit450 to avoid plotting during your YOLOv8 training with RGBD data, you can use the --no-plot argument when running your training command. This will disable the plotting of results after each epoch, which seems to be where you're encountering the error. Here’s how you can modify your training command:

yolo train data=your_dataset.yaml model=your_custom_model.yaml --no-plot

Make sure to replace your_dataset.yaml and your_custom_model.yaml with the paths to your actual dataset and model configuration files. This should help bypass the plotting step and proceed with the training.

If you're using the Python API, you can achieve a similar effect by setting plots=False in the train() method options.

Let us know if this solution works for you or if anything else comes up! πŸš€

github-actions[bot] commented 2 weeks ago

πŸ‘‹ 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 ⭐