cilix-ai / on-the-fly-guidance

[MICCAI 2024] On-the-Fly Guidance Training for Medical Image Registration. Pre-print available in link below.
https://arxiv.org/abs/2308.15216
Creative Commons Attribution 4.0 International
29 stars 3 forks source link

Loss weights for non-ofg process #16

Open busyyang opened 4 months ago

busyyang commented 4 months ago

Hi, I just find an issue about the loss weights when ofg_epoch=0:

Is there a bug when without OFG?

yuelinxin commented 4 months ago

No because the default weight for unsupervised loss, i.e., NCC + regularization, is 1 : 1, so no weight is needed there. For OFG, we have OFG:Reg = 1:0.02, so there is a weight involved.