-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
DiffEqFlux Blog Post #274
DiffEqFlux Blog Post #274
Conversation
Adding in the media next. |
Co-Authored-By: ChrisRackauckas <[email protected]>
Maybe it's better to just write out the loop rather than using |
Needs JuliaDiff/ForwardDiff.jl#378 and a ForwardDiff tag @jrevels |
That PR still fails tests. |
Yes, which is a great reason to ping for help. |
Co-Authored-By: ChrisRackauckas <[email protected]>
Co-Authored-By: ChrisRackauckas <[email protected]>
Co-Authored-By: ChrisRackauckas <[email protected]>
SciML/DelayDiffEq.jl#93 breaks the layer because of the sizing issue. Temporary fix: function delay_lotka_volterra(du,u,h,p,t)
x, y = u
α, β, δ, γ = p
du[1] = dx = (α - β*y)*h(p,t-0.1)[1]
du[2] = dy = (δ*x - γ)*y
end
h(p,t) = ones(eltype(p),2)
prob = DDEProblem(delay_lotka_volterra,[1.0,1.0],h,(0.0,10.0),constant_lags=[0.1])
p = param([2.2, 1.0, 2.0, 0.4])
params = Flux.Params([p])
reduction2(sol) = sol[1,1:101]
function predict_fd_dde()
diffeq_fd(p,reduction2,101,prob,MethodOfSteps(Tsit5()),saveat=0.1)
end
loss_fd_dde() = sum(abs2,x-1 for x in predict_fd_dde())
loss_fd_dde() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some first comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More suggestions, mostly typos
* Fixed NeurIPS acronym * RNN -> ResNet
Here's a Gist with the code. It may make sense to link this in the post somewhere. https://gist.github.com/ChrisRackauckas/89bb4181bb1c82266daeeec68c7f8d0e |
bb5f743
to
036dc3f
Compare
Following @ViralBShah 's suggestion, we put the runnable scripts in the model-zoo repo and will link to them after each animation to make it easier to follow along with the post. @MikeInnes will get that merged in a sec, add the links here, and then we are ready to release. So let's say 10:30-11? Any last comments need to get in by then, or at least highlight a previous discussion. |
Co-Authored-By: ChrisRackauckas <[email protected]>
The title seems to be missing from the rendered version. |
It displays the info table at the top differently than the others: Anyone know why? |
I just fixed it, hopefully it'll show up soon. |
The LaTeX isn’t showing up for me in mobile Safari |
The LateX isn't working in desktop Safari as well |
49ba1b2 should fix it when the post updates |
we should be good. Still taking any hotfixes as they come, but it's good to post now I think |
I think 49ba1b2 broke this: Edit: No, it is just a missing |
Probably need to switch |
Two discussion points from the private channels which are still un-addressed: