You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Turing: Variational
m =clamp_sim(trq_m, q_m)
advi =ADVI(10, 1000)
q =vi(m, advi)
where clamp_sim is a fairly complicated model relying on a private package. The model samples okay with the MH sampler and is differentiable with ForwardDiff. I hope the following stack trace is useful. If more info is required, I can try to reduce the model a bit, but I'm afraid I don't know enough about Turing/Bijectors to have any idea of what has gone wrong.
Yeah this is an issue with how the transformation from real space to constrained space is constructed. Essentially, at the moment only 0- and 1-dimensional distributions are supported by that constructor. I got the fix though, just a sec!
Hopefully we'll get the this merged ASAP, but it's a fairly simple change so in the meantime you could just copy-paste the def of Vec and the redefinitions of meanfield and bijector from the file:)
I'm getting a method error when trying to run
where
clamp_sim
is a fairly complicated model relying on a private package. The model samples okay with theMH
sampler and is differentiable with ForwardDiff. I hope the following stack trace is useful. If more info is required, I can try to reduce the model a bit, but I'm afraid I don't know enough about Turing/Bijectors to have any idea of what has gone wrong.The text was updated successfully, but these errors were encountered: