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

Support for autodiff in warping? #163

Open
rakshith95 opened this issue Feb 6, 2023 · 0 comments
Open

Support for autodiff in warping? #163

rakshith95 opened this issue Feb 6, 2023 · 0 comments

Comments

@rakshith95
Copy link

Hello, I use the warp function as part of my loss function for which I need to compute a Jacobian. I've tried ForwardDiff, and Zygote, and both seem to throw errors during the warp call.

In the case of ForwardDiff, I get a stack overflow error, and in the case of Zygote, I get the following:

ERROR: MethodError: no method matching iterate(::Nothing)
Closest candidates are:
  iterate(::Union{LinRange, StepRangeLen}) at range.jl:872
  iterate(::Union{LinRange, StepRangeLen}, ::Integer) at range.jl:872
  iterate(::T) where T<:Union{Base.KeySet{<:Any, <:Dict}, Base.ValueIterator{<:Dict}} at dict.jl:712

Do you have any ideas on what I can do to get warp working with autodiff?

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

No branches or pull requests

1 participant