Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where the jacobian is being computed? #78

Open
mjack3 opened this issue Nov 1, 2023 · 1 comment
Open

Where the jacobian is being computed? #78

mjack3 opened this issue Nov 1, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@mjack3
Copy link

mjack3 commented Nov 1, 2023

Hello, this repository is very interesting. I am studying for a PhD in normalizing flow, and when reviewing your code, I could not see where the Jacobian matrix is calculated. Is it a repository for building flow-based networks?

Regards

@silvandeleemput silvandeleemput self-assigned this Nov 2, 2023
@silvandeleemput silvandeleemput added the question Further information is requested label Nov 2, 2023
@silvandeleemput
Copy link
Owner

Hi, thanks for your interest in MemCNN. The repository is mainly focused on rendering invertible operations memory-efficient and isn't designed in particular for flow-based networks. However, since flow-based networks rely on invertible mappings it should be feasible to get some utility out of the library.

The library doesn't contain an explicit method for computing a Jacobian matrix. PyTorch does have such methods in functorch: https://pytorch.org/functorch/stable/notebooks/jacobians_hessians.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants