Skip to content

nan train_loss during training process #976

Answered by diazandr3s
jos-stevens asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jos-stevens,

Thanks for opening this discussion.

This can happen when the intensity normalization isn't properly done before training. If you know the intensity range of the organ/tissue of interest, you could update the arguments in this transform: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/trainers/segmentation.py#L82

If not, I'd suggest you update the optimizer here: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/trainers/segmentation.py#L63 and give it a try.

You could use any of these two optimizers: https://github.com/Project-MONAI/MONAILabel/blob/main/sample-apps/radiology/lib/trainers/localization_spine.py#L…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jos-stevens
Comment options

@jos-stevens
Comment options

Answer selected by jos-stevens
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