ptiede / Comrade.jl

MIT License
43 stars 8 forks source link

Typo in example of dev docs for AHMC autodiff in sampling #290

Closed rohandahale closed 1 year ago

rohandahale commented 1 year ago

Dev docs for example: https://ptiede.github.io/Comrade.jl/dev/examples/imaging_vis/

In chain, stats = sample(rng, post, AHMC(;metric, autodiff=AD.ZygoteBackend()), 400; nadapts=300, init_params=x0) , AHMC(;metric, autodiff=AD.ZygoteBackend()) does not work and should be changed to AHMC(;metric, autodiff=Val(:Zygote))

ptiede commented 1 year ago

fixed