ReactiveBayes / RxInfer.jl

Julia package for automated Bayesian inference on a factor graph with reactive message passing
https://rxinfer.ml/
MIT License
278 stars 23 forks source link

Possible to get involved variables from functional form errors? #335

Closed acertain closed 2 months ago

acertain commented 3 months ago

Hi, I'm trying out RxInfer and often running into ERROR:ProductOfobject cannot be used as a functional form in inference backend. Use form constraints to restrict the functional form of marginal posteriors.. Is there any way to figure out which variables are involved in the ProductOf? As is I'm incrementally constructing a model to try to isolate variables, but it's pretty annoying.

bvdmitri commented 3 months ago

Agreed, this should be improved