I am learning pymc Gaussian Mixture Model with ADVI Example notebook.
When I tried to run the MCMC sampling process, I got an error message saying “cannot pickle ‘_abc_data’ object”.
And when I tried to run ADVI for the large sample size in batches, I got an error message pointing to my minibatch_size specification saying “only integers, slices (:
), ellipsis (...
), numpy.newaxis (None
) and integer or boolean arrays are valid indices”.
I printed the error messages from my jupyter notebook and attached here. Could anyone suggest some possible solutions?
Thank you very much!!!
MCMC_sampling_and_ADVI_mini_batch_bugs.pdf (3.1 MB)