-
Notifications
You must be signed in to change notification settings - Fork 13
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
Review #6
base: master
Are you sure you want to change the base?
Review #6
Conversation
model.py
Outdated
# indices = tf.image.non_max_suppression( | ||
# normalized_boxes, scores, self.proposal_count, | ||
# self.nms_threshold, name="rpn_non_max_suppression") | ||
indices = tf.image.non_max_suppression( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"POOL_SIZE 7\n", | ||
"POST_NMS_ROIS_INFERENCE 1000\n", | ||
"POST_NMS_ROIS_TRAINING 2000\n", | ||
"ROI_POSITIVE_RATIO 0.33\n", | ||
"RPN_ANCHOR_RATIOS [0.5, 1, 2]\n", | ||
"RPN_ANCHOR_SCALES (32, 64, 128, 256, 512)\n", | ||
"RPN_ANCHOR_SCALES (16, 32, 64, 128, 256)\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I played with a few different factors of these values, but they did not seem to improve the results.
|
||
# Non-max suppression | ||
def nms(normalized_boxes, scores): | ||
indices, scores = tf.image.non_max_suppression_with_scores( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This matches the call I made when generating the initial "softmax" weights, though running detection with the corresponding weights does not yield any results.
No description provided.