forked from pjreddie/darknet
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Add support for less or more frequent mAP calculation while training #4918
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'-mAP_epochs' decide after how many epochs mAP should be calculated. Default value is 4 which means the mAP will be calculated after each 4 epochs.
Add instructions to use '-mAP_epochs' command line argument while training.
Monitor training, Add support to display remaining training time on training chart
Merge Changes from Base Repo (AlexeyAB/darknet)
Merge changes from alexeab/darknet
Merge Changes from AlexeAB/darknet
I was on the verge of implementing this myself today. Guess I'm lucky, lol. :D |
Merge changes from AlexeAB/darknet
Merge Changes From alexeyab
cenit
reviewed
Sep 1, 2023
cenit
reviewed
Sep 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds the flexibility to calculate mAP less or more frequently while training. The user can set the command line argument
-mAP_epochs
to decide after how many epochs mAP should be calculated. For example in order to calculate mAP for each 2 Epochs run the training with commanddarknet.exe detector train data/obj.data yolo-obj.cfg darknet53.conv.74 -map -mAP_epochs 2
.Note that by default the code calculates the mAP after each 4 epochs. So this feature particularly be useful in the scenarios where user is training on big one class dataset where the model may converge quickly, hence more frequent validation mAP calculation is required.