Note about Code-Src
This commit is contained in:
parent
b9f66dd95d
commit
5f7cfd2e10
@ -230,6 +230,7 @@ class TRL_PG(OnPolicyAlgorithm):
|
|||||||
# values, log_prob, entropy = self.policy.evaluate_actions(rollout_data.observations, actions)
|
# values, log_prob, entropy = self.policy.evaluate_actions(rollout_data.observations, actions)
|
||||||
|
|
||||||
# src in TRL reference code:
|
# src in TRL reference code:
|
||||||
|
# Stolen from Fabian's Code (Public Version):
|
||||||
# p = self.policy(rollout_data.observations)
|
# p = self.policy(rollout_data.observations)
|
||||||
# proj_p = self.projection(self.policy, p, b_q = (b_old_mean, b_old_std), self._global_step)
|
# proj_p = self.projection(self.policy, p, b_q = (b_old_mean, b_old_std), self._global_step)
|
||||||
# new_logpacs = self.policy.log_probability(proj_p, b_actions)
|
# new_logpacs = self.policy.log_probability(proj_p, b_actions)
|
||||||
|
Loading…
Reference in New Issue
Block a user