Project-MONAI / Project-MONAI/MONAI

GlobalMutualInformationLoss goes to -inf

Open
#7,622 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

GlobalMutualInformationLoss returned -inf during training in my multi-model MRI image registration with VoxelMorph, which led to the failure of training. GlobalMutualInformationLoss was constructed with default parameters. What caused the issue and What can be done to deal with it?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GlobalMutualInformationLoss entry point and its default parameters, then reproduce the reported multi-model MRI image-registration training setup with VoxelMorph. Investigate why the loss becomes -inf and identify a supported way to prevent or handle that failure during training.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.