Skip to content

Commit

Permalink
Merge pull request #548 from xinyuewang1/patch-2
Browse files Browse the repository at this point in the history
Update train_a3c.py
  • Loading branch information
muupan authored Sep 4, 2019
2 parents c9284a4 + e4c8e02 commit ef2f21e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/atari/reproduction/a3c/train_a3c.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from chainerrl.optimizers.nonbias_weight_decay import NonbiasWeightDecay
from chainerrl.optimizers import rmsprop_async
from chainerrl import policies
from chainerrl import v_function
from chainerrl import v_functions

from chainerrl.wrappers import atari_wrappers

Expand All @@ -34,7 +34,7 @@ def __init__(self, n_actions):
self.head = links.NIPSDQNHead()
self.pi = policies.FCSoftmaxPolicy(
self.head.n_output_channels, n_actions)
self.v = v_function.FCVFunction(self.head.n_output_channels)
self.v = v_functions.FCVFunction(self.head.n_output_channels)
super().__init__(self.head, self.pi, self.v)

def pi_and_v(self, state):
Expand Down

0 comments on commit ef2f21e

Please sign in to comment.