Closed bhosalems closed 2 years ago
Hi @bhosalems ,
I believe you are trying to load VoxelMorph-1 or -2's weights into VoxelMorph-huge. You'll need to change this line according to the model that you are trying to use: https://github.com/junyuchen245/TransMorph_Transformer_for_Medical_Image_Registration/blob/47517d0cc5b7b8b56c77b6b3efa60d59abba3432/IXI/Baseline_registration_methods/VoxelMorph/infer.py#L63
You may find the names of the models here: https://github.com/junyuchen245/TransMorph_Transformer_for_Medical_Image_Registration/blob/47517d0cc5b7b8b56c77b6b3efa60d59abba3432/IXI/Baseline_registration_methods/VoxelMorph/infer.py#L12
Junyu
I am getting the below error -