-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Gradient by zygote of scalar expectation in batch mode #49
Comments
I am able to run this but it looks like the gradients don't match. They do match for |
ERROR: MethodError: no method matching RecursiveArrayTools.VectorOfArray(::Tuple{Float64}) status `~/Dropbox/julia/small projects/dynamic experimental design tutorial/Project.toml`
[667455a9] Cubature v1.5.1
[aae7a2af] DiffEqFlux v1.34.1
[41bf760c] DiffEqSensitivity v6.43.1
[ef61062a] DiffEqUncertainty v1.8.0
[31c24e10] Distributions v0.24.15
[6a86dc24] FiniteDiff v2.8.0
[587475ba] Flux v0.11.6
[f6369f11] ForwardDiff v0.10.17
[429524aa] Optim v1.3.0
[1dea7af3] OrdinaryDiffEq v5.52.2
[91a5bcdd] Plots v1.11.0
[37e2e3b7] ReverseDiff v1.7.0
[e88e6eb3] Zygote v0.6.6 |
Interesting. Doesn't look the same as SciML/Integrals.jl#49 . I wonder if we can isolate this down to just Quadrature.jl |
@ArnoStrouwen Is this in a new repl? Something doesn't seem right b/c RecursiveArrayTools isn't in Quadrature or DiffEqUncertainty. I just searched the repos to makes sure This runs for me w/ [667455a9] Cubature v1.5.1
[41bf760c] DiffEqSensitivity v6.43.1
[ef61062a] DiffEqUncertainty v1.8.0
[31c24e10] Distributions v0.24.15
[6a86dc24] FiniteDiff v2.8.0
[f6369f11] ForwardDiff v0.10.17
[1dea7af3] OrdinaryDiffEq v5.52.2
[e88e6eb3] Zygote v0.6.6 But I get ForwardDiff: 1.8264648587604257, 0.5292345598328614 |
It might be something Visual Studio Code loads, since I get the same results as you when I run from terminal. |
The text was updated successfully, but these errors were encountered: