Skip to content

Add MCC loss #534

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

Merged
merged 5 commits into from
Jan 6, 2022
Merged

Add MCC loss #534

merged 5 commits into from
Jan 6, 2022

Conversation

qubvel
Copy link
Collaborator

@qubvel qubvel commented Jan 6, 2022

No description provided.

@qubvel qubvel changed the title Feature MCC loss Add MCC loss Jan 6, 2022
@qubvel qubvel merged commit c48c906 into master Jan 6, 2022
@nauyan
Copy link

nauyan commented Jan 7, 2022

I have installed the library from the master branch but I am getting the error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-20-793fc664cdc1> in <module>
      1 import segmentation_models_pytorch as smp
      2 
----> 3 loss = smp.utils.losses.MCCLoss()

AttributeError: module 'segmentation_models_pytorch.utils.losses' has no attribute 'MCCLoss'

@qubvel
Copy link
Collaborator Author

qubvel commented Jan 7, 2022

@nauyan
smp.losses.MCCLoss

@qubvel qubvel deleted the feature/mcc-loss branch August 7, 2022 20:56
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

Successfully merging this pull request may close these issues.

4 participants