junyuchen245 / TransMorph_Transformer_for_Medical_Image_Registration

TransMorph: Transformer for Unsupervised Medical Image Registration (PyTorch)
MIT License
437 stars 73 forks source link

Parameter passing problem of loss #74

Closed Miraclerice closed 5 months ago

Miraclerice commented 5 months ago

https://github.com/junyuchen245/TransMorph_Transformer_for_Medical_Image_Registration/blob/3a33170de2b99b7e11e88561a44c1ad265e18d39/IXI/TransMorph/train_TransMorph.py#L105C1-L112C69 I am a little confused about the parameter of loss_function in line 112, but it is the opposite in voxelmorph. I hope you can answer it when you have time, thank you