Coder Social home page Coder Social logo

Comments (5)

jmontalt avatar jmontalt commented on July 1, 2024

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.

chaithyagr avatar chaithyagr commented on July 1, 2024

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.

jmontalt avatar jmontalt commented on July 1, 2024

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.

chaithyagr avatar chaithyagr commented on July 1, 2024

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.

jmontalt avatar jmontalt commented on July 1, 2024

This issue has been addressed with Release 0.7.1. Thank you @chaithyagr !

from tensorflow-nufft.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.