NKI-AI / direct

Deep learning framework for MRI reconstruction
https://docs.aiforoncology.nl/direct
Apache License 2.0
228 stars 40 forks source link

Update mri_transforms.py #177

Closed georgeyiasemis closed 2 years ago

georgeyiasemis commented 2 years ago

torch.kthvalue returns error when k=0 (give 0th value). 0 should be replaced by 1 (1st value). This was not caused by old torch versions (<1.11.0).