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
I upgraded turing from v0.29 to v0.30 and seems that v0.30.1 does not consider init_params. for example, the following worked well in v.29.3 within a few seconds but took a very long time in v0.30.1.
@modelfunctiondemo()
X =Vector{Real}(undef, 30)
for i in1:length(X)
X[i] ~Uniform(0,1)
endfor i in1:(length(X)-1)
if!(X[i] < X[i+1])
Turing.@addlogprob!-Infreturnendendreturn X
end
chain =sample(demo(), NUTS(100,0.65), 10000, init_params=range(0.01,0.99,length=30))
actually, it gave me a warning msg saying that "try to provide initial values of the parameters by init_params".
Would you please mind having a look at it? Thank you much!
The text was updated successfully, but these errors were encountered:
Dear Turing,
I upgraded turing from v0.29 to v0.30 and seems that v0.30.1 does not consider init_params. for example, the following worked well in v.29.3 within a few seconds but took a very long time in v0.30.1.
actually, it gave me a warning msg saying that "try to provide initial values of the parameters by init_params".
Would you please mind having a look at it? Thank you much!
The text was updated successfully, but these errors were encountered: