mirror of
https://github.com/wassname/ray.git
synced 2026-07-18 12:40:56 +08:00
[tune] resume=False by default but print a tip to set resume="prompt" + jenkins fix (#3681)
This commit is contained in:
@@ -82,4 +82,4 @@ class A3CTorchPolicyGraph(TorchPolicyGraph):
|
||||
with self.lock:
|
||||
obs = torch.from_numpy(obs).float().unsqueeze(0)
|
||||
_, _, vf, _ = self.model({"obs": obs}, [])
|
||||
return vf.numpy().squeeze()
|
||||
return vf.detach().numpy().squeeze()
|
||||
|
||||
Reference in New Issue
Block a user