Purpose of "ALG" -> "ALGORITHM" key in config.json? #130
-
Hi, i was implementing some of own agents (REDQ SAC), for the LIDAR environment i was wondering what exactly is the purpose of having this: in the config? Is that just for the existing models that come with the library or can I use it for my own implementations of REDQ SAC or (other agents i may implement in the future). I saw changing it to something other than "SAC" or "REDQSAC" and running the trainer caused an error to pop up, so im not sure what it's used for and how it changes my runs, as well a how I would adapt my config when i come onto adding some other agents i wanted to test. Thanks! EDIT: Also might be a dumb question, but do i need to have my display on to train in the lidar based environment? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
So I see that it's used in config_objects.py and custom_checkpoints.py to update the checkpoint during training or set the parameters for the agent from the tmrldata/config, but these are directly in the library so im abit unsure how I would add my agent to it thats not REDQSAC or SAC? |
Beta Was this translation helpful? Give feedback.
-
Hi!
If you implement your own pipeline (e.g., by following the long tutorial), you can ignore You can also access whatever you write in |
Beta Was this translation helpful? Give feedback.
-
Ahh thank you so much that ended up being simpler than I thought it was! |
Beta Was this translation helpful? Give feedback.
Hi!
config.json
defines the behaviour of thepython -m tmrl --<option>
commands, and the default arguments of the main library components.If you implement your own pipeline (e.g., by following the long tutorial), you can ignore
config.json
entirely.You can also access whatever you write in
config.json
through thetmrl.config
module by following the same "import (...) as cfg" pattern as in config_objects.py.