Skip to content

Commit

Permalink
Fix sac.entropy loss assert.
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-1511 committed Sep 9, 2019
1 parent 6aca5a0 commit cce50a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cherry/algorithms/sac.py
Expand Up @@ -220,8 +220,6 @@ def entropy_weight_loss(log_alpha, log_probs, target_entropy):
~~~
"""
msg = 'v_value, q_value, and log_probs must have equal size.'
assert log_alpha.size() == log_probs.size(), msg
if debug.IS_DEBUGGING:
if log_probs.requires_grad:
debug.logger.warning('SAC:entropy_weight_loss: log_probs.requires_grad is True.')
Expand Down

0 comments on commit cce50a6

Please sign in to comment.