mirror of
https://github.com/wassname/DeepRL.git
synced 2026-09-11 11:53:01 +08:00
Support shared stats for continuous A3C
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ class VanillaNet(BasicNet):
|
||||
|
||||
# Base class for actor critic method
|
||||
class ActorCriticNet(BasicNet):
|
||||
def predict(self, x, _):
|
||||
def predict(self, x):
|
||||
phi = self.forward(x, True)
|
||||
pre_prob = self.fc_actor(phi)
|
||||
prob = F.softmax(pre_prob)
|
||||
|
||||
Reference in New Issue
Block a user