Skip to content
Discussion options

You must be logged in to vote

Hi @GianlucaMega Thank you for raising this question! I think this is indeed a bug, the division in line 73 works only for a single sample. To be able to handle mini-batches line 73 should be sums = np.sum(post_preds, axis=1, keepdims=True).

I'll transform this discussion into a bug report issue.

Would you be interested to open a pull request with the solution to branch dev_1.10.2?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@GianlucaMega
Comment options

@beat-buesser
Comment options

@GianlucaMega
Comment options

@beat-buesser
Comment options

Answer selected by beat-buesser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants