-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
@torfjelde the BNN tutorial is failing because
update(q, (μ, exp.(ω)))doesn't seem to work anymore, because update doesn't seem to be exported anymore. I tried calling
Variational.update(q, (μ, exp.(ω)))but there's a new error:
MethodError: no method matching update(::DistributionsAD.TuringDiagMvNormal{Array{Float64,1},Array{Float64,1}}, ::Tuple{Array{Float64,1},Array{Float64,1}})
Closest candidates are:
update(::DistributionsAD.TuringDiagMvNormal, ::Any, !Matched::Any) at /home/cameron/.julia/packages/Turing/cReBm/src/variational/advi.jl:8
update(!Matched::TransformedDistribution, ::Any...) at /home/cameron/.julia/packages/Turing/cReBm/src/variational/advi.jl:9
Stacktrace:
[1] update(::TransformedDistribution{DistributionsAD.TuringDiagMvNormal{Array{Float64,1},Array{Float64,1}},Stacked{Tuple{Identity{1}},1},Multivariate}, ::Tuple{Array{Float64,1},Array{Float64,1}}) at /home/cameron/.julia/packages/Turing/cReBm/src/variational/advi.jl:9
[2] top-level scope at In[28]:10What's the fix here?
Metadata
Metadata
Assignees
Labels
No labels