Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #10
This PR addresses the problem with data-consistency module and 2D Fourier transform functions
fft2
, andifft2
. The data-consistency module has been updated,fft2c
andifft2c
functions are added totransforms.py
.Problem definition
The below data-consistency module does not work:
ReconFormer/models/Recurrent_Transformer.py
Lines 13 to 55 in e2e0d5e
This is due to some errors in
fft2
andifft2
functions intransforms.py
:ReconFormer/data/transforms.py
Lines 73 to 107 in e2e0d5e
To Reproduce