Skip to content

Instantly share code, notes, and snippets.

@NicolasVidal
NicolasVidal / PPOAgentOnSimpleTask
Created July 21, 2018 15:22
PPOAgent with default parameters fails on this simple task more than half the time (and it's worse if you add hidden layers)
from random import randint
from tensorforce.agents import PPOAgent
if __name__ == "__main__":
agent = PPOAgent(
states=dict(type='float', shape=(2,)),
actions=dict(type='int', num_actions=3),
network=[
],