Skip to content
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

some bugs in CategoricalFocalLoss function #20

Closed
CyrilZhao-sudo opened this issue Jul 21, 2020 · 4 comments
Closed

some bugs in CategoricalFocalLoss function #20

CyrilZhao-sudo opened this issue Jul 21, 2020 · 4 comments

Comments

@CyrilZhao-sudo
Copy link

super(BinaryFocalLoss, self).init(reduction=reduction, name=name)
the BinaryFocalLoss may be CategoricalFocalLoss

jackguagua added a commit that referenced this issue Jul 22, 2020
@jackguagua
Copy link
Member

@CyrilZhao-sudo This is fixed now, thanks.

@CyrilZhao-sudo
Copy link
Author

@CyrilZhao-sudo This is fixed now, thanks.

For the layer,MultiheadAttention, the output shape is always (batch_size, field_size, embedding_size), not (batch_size, field_size, embedding_size*num_head). en ?

@CyrilZhao-sudo
Copy link
Author

@CyrilZhao-sudo This is fixed now, thanks.

@CyrilZhao-sudo
Copy link
Author

Here, class DefaultPreprocessor, fit_transform method,
{if copy: # TODO bug here
X = copy.deepcopy(X)
y = copy.deepcopy(y)} . the copy may be copy_data.

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

2 participants