Skip to content

RPN loss compute #90

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

Open
haigh1510 opened this issue May 9, 2020 · 0 comments
Open

RPN loss compute #90

haigh1510 opened this issue May 9, 2020 · 0 comments

Comments

@haigh1510
Copy link

Hi, I think that axis=(1,2,3) should be specified in np.sum

here

score_loss = tf.reduce_sum(score_loss * foreground_background_mask, axis=[1,2,3]) / np.sum(foreground_background_mask)

and here

boxes_loss = tf.reduce_sum(boxes_loss * foreground_mask, axis=[1,2,3]) / np.sum(foreground_mask)

haigh1510 added a commit to haigh1510/TensorFlow2.0-Examples that referenced this issue May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant