Skip to content

Commit

Permalink
Merge pull request #99 from yizhangliu/main
Browse files Browse the repository at this point in the history
Update utils.py
  • Loading branch information
edbeeching authored Apr 11, 2023
2 parents 16deeca + 45b5bf4 commit e229add
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions godot_rl/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def to_original_dist(self, action):
discrete_actions = np.greater(action[:, counter], 0.0)
discrete_actions = discrete_actions.astype(np.float32)
original_action.append(discrete_actions)
counter += 1

else:
raise NotImplementedError
Expand Down

0 comments on commit e229add

Please sign in to comment.