Skip to content

Commit

Permalink
Merge from master.
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorM committed Sep 9, 2024
2 parents 4d29423 + 7f9cd1e commit b3467f2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion rl_games/algos_torch/a2c_continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ def calc_gradients(self, input_dict):
self.aux_loss_dict[k] = v.detach()
else:
self.aux_loss_dict[k] = [v.detach()]

if self.multi_gpu:
self.optimizer.zero_grad()
else:
Expand Down
1 change: 0 additions & 1 deletion rl_games/algos_torch/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def denorm_value(self, value):
def get_aux_loss(self):
return None


class ModelA2C(BaseModel):
def __init__(self, network):
BaseModel.__init__(self, 'a2c')
Expand Down

0 comments on commit b3467f2

Please sign in to comment.