We currently initialize agents in a hodgepodge of different ways depending on the dimension of the state and action spaces, the actions themselves, and the specific environment expected. The result is that the arguments we pass in to various agents are too diverse to make a more uniform interface for agent initialization.
Solution
Passing the created environment into the agent itself can help sidestep this, since the agent can inspect the environment and collect the required information internally.
TODO
All agents on the experiments branch need to be redefined to accept envs on initialization and collect the appropriate information.
All scripts on experiments depending on agents need to be altered to reflect the new agent definitions.
Plans must be made to fix any conflicts and rebase other branches on experiments once the experiments branch becomes master.
Issue
We currently initialize agents in a hodgepodge of different ways depending on the dimension of the state and action spaces, the actions themselves, and the specific environment expected. The result is that the arguments we pass in to various agents are too diverse to make a more uniform interface for agent initialization.
Solution
Passing the created environment into the agent itself can help sidestep this, since the agent can inspect the environment and collect the required information internally.
TODO
experiments
branch need to be redefined to accept envs on initialization and collect the appropriate information.experiments
depending on agents need to be altered to reflect the new agent definitions.experiments
once theexperiments
branch becomesmaster
.