-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Visualize / Log Batch Size #966
Comments
👋 Hello @WhoIsElMasri, thank you for raising an issue about Ultralytics HUB 🚀! It's great to see your interest in improving the platform. Your suggestion to visualize or log the batch size when using If this is a ❓ Feature Request, further context or examples of how this would enhance your workflows might be helpful for our team. Feel free to provide any additional insights or specific applications. If this is a 🐛 Bug Report, please include any relevant details like steps to reproduce, environment setup, or screenshots, as this helps us investigate the matter more quickly. This is an automated response, but an Ultralytics engineer will review your issue and assist you as soon as possible. Thank you for your patience and contribution! 😊 |
@WhoIsElMasri thank you for your suggestion! 😊 Adding a feature to visualize or log the automatically determined batch size ( As you may already know, the We’ll take this feedback into account and consider it for future improvements to the HUB. In the meantime, if you’re looking to view the computed batch size during training, you can check the training logs, where this information should be displayed. Alternatively, if you're using Python scripts, you can explicitly call the from ultralytics.utils.autobatch import autobatch
optimal_batch_size = autobatch(model) # Replace 'model' with your YOLO model instance
print(f"Optimal Batch Size: {optimal_batch_size}") Feel free to share any additional thoughts or use cases for this feature. Your insights are always valued by the Ultralytics team and the YOLO community! 🚀 |
Hey @pderrenger, thank you for the fast response. |
Hi @hamua-cmd, you're very welcome! 😊 In the Ultralytics HUB, training logs are accessible directly within the training interface. Once you start a training job, you can:
The logs should display details such as the computed batch size (if If you are unable to locate these logs, could you confirm which step you’re on or share any additional details? I’ll be happy to guide you further. 🚀 |
Search before asking
Description
It would be beneficial to see the chosen batch_size when you rely on batch_size=-1 -> AUTO in the front end
Use case
No response
Additional
No response
The text was updated successfully, but these errors were encountered: