Closed murphyk closed 3 years ago
build_adam_optimizer
build_optax_optimizer
examples/gauss_sample_sgld.py
examples/gauss_optimize.py
gauss_sample_sgld
gauss_optimize.py
optax_optimizer
attempted relative import with no known parent package
Related code: https://github.com/probml/pyprobml/blob/master/scripts/sgmcmc_utils.py https://github.com/probml/pyprobml/blob/master/scripts/sgmcmc_nuts_demo.py
Thanks! I fixed the relative import error and also added those 2 extra scripts in the example directory
build_adam_optimizer
to makebuild_optax_optimizer
that takes in any optax optimizer.examples/gauss_sample_sgld.py
which is basically the same as your 'quick start' demo (sample from D-dim. Gaussian)examples/gauss_optimize.py
which is similar togauss_sample_sgld
but uses the adam optimizergauss_optimize.py
test my newoptax_optimizer
because I get theattempted relative import with no known parent package
error :(