Problem with BayesNN Demo in Turing.jl

Hi,

When running the BayesNN demo in Turing, I get the error that index nn_params not found. After checking the code, I found the line:

theta = ch[:nn_params].value.data;

and I do not see where :nn_params is defined earlier on. I am using Julia 1.6 . The example I am running can be found at https://turing.ml/dev/tutorials/3-bayesnn/.
Thanks for any insight you might provide! Gordon.

This code is wrong. It may be “official wrong”.
Replace it to theta = group(ch, :nn_params).value.data; .