Another issue with clip_range=None
This commit is contained in:
parent
8bbb01504b
commit
53505a80ad
@ -330,7 +330,8 @@ class TRPL(BetterOnPolicyAlgorithm):
|
|||||||
self.logger.record("train/std", th.exp(self.policy.log_std).mean().item())
|
self.logger.record("train/std", th.exp(self.policy.log_std).mean().item())
|
||||||
|
|
||||||
self.logger.record("train/n_updates", self._n_updates, exclude="tensorboard")
|
self.logger.record("train/n_updates", self._n_updates, exclude="tensorboard")
|
||||||
self.logger.record("train/clip_range", clip_range)
|
if self.clip_range is not None:
|
||||||
|
self.logger.record("train/clip_range", clip_range)
|
||||||
if self.clip_range_vf is not None:
|
if self.clip_range_vf is not None:
|
||||||
self.logger.record("train/clip_range_vf", clip_range_vf)
|
self.logger.record("train/clip_range_vf", clip_range_vf)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user