Comments (5)
I'm glad you're finding it useful! I have quickly tested your suggested change against the naive NUDFT implementation currently used for testing TensorFlow NUFFT.
Testing passes with or without your change, which suggests the tests themselves may be incomplete. If you are able to create a PR that includes a test that passes with your change but fails without it, that would be amazing. Thank you!
from tensorflow-nufft.
Hmm that's weird, I remember physically checking that the values were off just taking NDFT from your library.
Anyway I will make a PR tomorrow.
from tensorflow-nufft.
Hi @chaithyagr, the problem is that the current test does not include any further operations originating from the NUFFT. As a result, the upstream gradient is 1, and taking its conjugate simply has no effect. However, when adding any operation that results in a complex-valued upstream gradient, your fix does indeed become necessary to obtain the correct values.
Since it's such a simple fix, there is no need for you to submit a PR, although by all means do send it if you've already worked on it. Otherwise, I'll sort this out later today and release a new version that incorporates the fix. Thank you for pointing out this issue!
from tensorflow-nufft.
That's wonderful that you have figured this out. I'm sorry that there is some maintainance at my end and hence I can't send in the PR today. Feel free to do so yourself and close this issue.
from tensorflow-nufft.
This issue has been addressed with Release 0.7.1. Thank you @chaithyagr !
from tensorflow-nufft.
Related Issues (19)
- `tfft.util.estimate_density` is inaccurate HOT 1
- NUFFT ignores TensorFlow's intra-op parallelism setting HOT 1
- NUFFT ignores CUDA device/stream specified by TF framework HOT 1
- Accept tensors in the `grid_shape` argument HOT 1
- Implement 1D NUFFT for GPU HOT 1
- Finish code refactoring/linting
- Implement shape inference function HOT 1
- NaN's randomly pop up in computations HOT 18
- Compiling without cuda? HOT 16
- Random failing to associate CUDA stream issues? HOT 4
- Test Case NUFFT1 and Real Valued Data HOT 2
- Allow user to specify `max_batch_size`? HOT 7
- Still facing NaN issues! HOT 21
- Scaling for NUFFT operator HOT 1
- Cannot pip install HOT 2
- ImportError: cannot import name 'nufft_options_pb2' HOT 1
- Running NUFFT in parallel causes a seg fault in CPU kernel HOT 2
- how to specify number of modes/frequencies? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorflow-nufft.