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

Training #14

Closed
long123524 opened this issue Aug 8, 2021 · 2 comments
Closed

Training #14

long123524 opened this issue Aug 8, 2021 · 2 comments

Comments

@long123524
Copy link

Can you provide an example of cldice as a loss function to train the network? I used cldice as a loss function for training, but the result is that I can't train it. The training loss curve is also very strange, and even negative values, and the shock is large, and it cannot be converged.

@coreeey
Copy link

coreeey commented Dec 2, 2021

I have the same problem :)

@Tianyangg
Copy link

Tianyangg commented Feb 25, 2022

From what I understand, please maybe check if your ground truth is one-hot encoded for loss calculation, cz they take foreground channels in 'tsens' calculation and if the ground truth is not one-hot, this term will give zero and result in a very large number.
image

@jocpae jocpae closed this as completed Apr 2, 2022
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

4 participants