-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
classify/train.py script should accept patience parameter #11491
Comments
@sohang3112 thank you for suggesting this feature, it could definitely be a useful addition to YOLOv5. We appreciate your willingness to contribute to the project by submitting a PR. Our team will review and consider your idea for implementation in future updates. |
👋 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 ⭐ |
Unlike |
@sohang3112 thank you for the suggestion, we appreciate your input. It's great to hear that patience has already been implemented in the |
👋 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 ⭐ |
Search before asking
Description
This Stack Overflow answer gives a good explanation of what patience is
Suppose a model is being trained for 100 epochs. But after epoch 60, the model's accuracy & loss don't improve any more.
If 5 more epochs pass and the model's accuracy & loss still don't improve, then the training loop should stop running.
In this example, the best epoch is 60, and patience is 5 epochs (number of epochs for which training loop should continue running when accuracy & loss stop improving).
Use case
This would save time during model training, as the training loop will not keep running for no reason even when model's loss is not decreasing (or even increasing!)
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: