Closed Aseman7 closed 1 year ago
Hi, I got the error about Z's prior value during numerical optimization as the following, do you know what is the problem (my ranges are [2400, 3900], [4.5, 5.5], [-0.5, 0.5] # T, logg, Z)?
priors = { "T": st.norm(2750, 20), "Z": st.uniform(-0.5, 0.5), "Av": st.halfnorm(0, 0.2), "global_cov:log_amp": st.norm(38, 1), "global_cov:log_ls": st.uniform(2, 1), }
%time model.train(priors)
RuntimeError: Z's logpdf evaluated to -inf
Many thanks
Hi, I got the error about Z's prior value during numerical optimization as the following, do you know what is the problem (my ranges are [2400, 3900], [4.5, 5.5], [-0.5, 0.5] # T, logg, Z)?
priors = { "T": st.norm(2750, 20), "Z": st.uniform(-0.5, 0.5), "Av": st.halfnorm(0, 0.2), "global_cov:log_amp": st.norm(38, 1), "global_cov:log_ls": st.uniform(2, 1), }
%time model.train(priors)
RuntimeError: Z's logpdf evaluated to -inf
Many thanks