Hello
Following on questions from 2018: Saving ADVI results and reloading
How to do the same in pymc4?
Hello
Following on questions from 2018: Saving ADVI results and reloading
How to do the same in pymc4?
Hello
Does anyone know how to do that?
The old code from junpenglao answer looked like this
# save inference
bij = inference.approx.groups[0].bij
saveparam = {param.name: bij.rmap(param.eval())
for param in inference.approx.params}
But in pymc4 MeanField group (which is type of inference.approx.groups[0]) has no attribute bij