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

Error when applying the adjoint of a DiagonalStack of TomographicProjector #331

Closed
Michael-T-McCann opened this issue Sep 6, 2022 · 0 comments · Fixed by #414
Closed
Assignees

Comments

@Michael-T-McCann
Copy link
Contributor

The following code produces and error

import numpy as np
from scico.linop.radon_astra import TomographicProjector
from scico.linop import DiagonalStack
import scico.numpy as snp

N = 10
H = DiagonalStack([TomographicProjector((N, N), 1.0, N, np.linspace(0, np.pi, N))])
H.T @ snp.zeros(H.output_shape)
NotImplementedError: Transpose rule (for reverse-mode differentiation) for 'custom_vjp_call_jaxpr' not implemented

The error goes away if jit=False is passed to DiagonalStack. But, oddly, I can't reproduce it using a TomographicProjector alone without the stack. May relate to #323.

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

Successfully merging a pull request may close this issue.

2 participants