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

Accuracy instead of Dice-coeff #61

Open
Rabia-Metis opened this issue Jan 13, 2018 · 2 comments
Open

Accuracy instead of Dice-coeff #61

Rabia-Metis opened this issue Jan 13, 2018 · 2 comments

Comments

@Rabia-Metis
Copy link

Thanks for the amazing work
Can you kindly tell me what will be the customised function for accuracy. I want to use accuracy as a metric instead of dice-coeff

@NirDiamant
Copy link

You can define your own loss for accuracy, for example by pixel comparison. I beleive it will be a good solution because you can define the thresholding by yourself

@mrgloom
Copy link

mrgloom commented Jan 30, 2018

Maybe just add metric?
model.compile(optimizer=Adadelta(), loss=dice_coef_loss, metrics=[dice_coef,my_custom_metric])

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

3 participants