DeepRegNet / DeepReg

Medical image registration using deep learning
Apache License 2.0
564 stars 76 forks source link

The ddf in demo_predict seems to be all 0s #802

Closed ebonmati closed 3 years ago

ebonmati commented 3 years ago

Subject of the issue

When running the unpaired abdomen CT registration, with the provided pre-trained models (unsup, weakly or comb) the return ddfs seem to be all 0s, and no registration is applied to the images when displaying the images.

If the bug is confirmed, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)

Yes

Your environment

4830c793d68bfca1d68ea512c52c9159caac75aa

Ubuntu 20.04.1

3.7.10

Steps to reproduce

python demos/unpaired_ct_abdomen/demo_data.py python demos/unpaired_ct_abdomen/demo_predict.py --method weakly

Expected behaviour

We would expect a ddf in logs_train with some values. We would not expect a good registration, but at least some small deformation should be returned.

Actual behaviour

The ddf seems to be all 0s, so no registration is applied to the images when I visualise them.

YipengHu commented 3 years ago

Thanks @ebonmati 's new update: training model again the DDFs seems normal. It is likely caused by the old pre-trained model format. Re-training model for this demo...