Problem with BayesNN Demo in Turing.jl


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];

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
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); .