Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Exceptional agents #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

sykwer
Copy link
Contributor

@sykwer sykwer commented Feb 28, 2019

#9

I assumed that all agents have a model attribute and model.__call__() returns outputs of the model. However, DDPG, PGT and TRPO are exceptions for the assumption.

So I prepared dirty workaround for that.. If some internal implementations of ChainerRL change, we have to deal with them.

Additionally, I assumed that all agents have a batch_states attribute, but TRPO and ACER does not. So I added a function that compensates the lack of the method.

Test will be added in another PR. (successfully run locally)

@sykwer sykwer changed the title [WIP] Exceptional agents Exceptional agents Feb 28, 2019
@sykwer sykwer requested a review from ofk February 28, 2019 11:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant