Better env configuration
theOGognf opened this issue · 2 comments
theOGognf commented
Having a separate class for environment configuration is a bit verbose. This can probably be slimmed down by just passing args directly to the environment instead of a dictionary. Although, I'm not sure if RLlib supports those environments.
theOGognf commented
At least instantiating the configs from a dict can be done with pydantic
or dacite
. Probably can't get around defining configs separately.
theOGognf commented
Switched to using pydantic. Given the current nature of the wrappers, the configuration detail is fine.