[tune] resume=False by default but print a tip to set resume="prompt" + jenkins fix (#3681)

This commit is contained in:
Eric Liang
2019-01-04 17:23:19 -08:00
committed by Richard Liaw
parent 747b117929
commit 7db1f3be2a
5 changed files with 13 additions and 22 deletions
@@ -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()