Skip to content

v0.3.0

Compare
Choose a tag to compare
@belerico belerico released this 06 Sep 14:05
· 292 commits to main since this release
c51a985

v0.3.0 Release Notes

This new release introduces hydra as the default configuration manager. In particular it fixes #74 and automatically #75, since now the cnn_keys and mlp_keys can be specified separately for both the encoder and decoder.
The changes are mainly the following:

  • Dreamer-V3 initialization follows directly Hafner's implementation (adapted from https://github.com/NM512/dreamerv3-torch/blob/main/tools.py)
  • all args.py and the HFArgumentParser have been removed. Configs are now specified under the sheeprl/configs folder and hydra is the default configuration manager
  • Every environment wrapper is directly instantiated through the hydra.utils.instantiate inside the make_env or make_dict_env method: in this way one can easily modify the wrapper passing whatever parameters to customize the env. Every wrapper must take as input the id parameter, which must be specified in the relative config
  • Every optimizer is directly instantiated through the hydra.utils.instantiate and can be modified through the CLI on the experiment run
  • The howto/configs.md has been added in which explain how the configs are organized inside the repo