AIDynamicAction / rcognita

rcognita is a flexibly configurable framework for agent-enviroment simulation with a menu of predictive and safe reinforcement learning controllers
MIT License
16 stars 7 forks source link

Environment configuration is very inconvenient #47

Closed OdinManiac closed 2 years ago

OdinManiac commented 2 years ago

The solution here is a class which has the following structure:

class abstract_config:
    def __init__(self):
        self.name = "some_agent"
    def argument_parser(self):
        pass
    def post_processing(self):
        pass
    def get_env(self):
        pass

It's very intuitive separation of command-line arguments and other arguments together with their post-processing.