Skip to content

Commit

Permalink
[RLlib] Fix action masking example. (ray-project#47817)
Browse files Browse the repository at this point in the history
Signed-off-by: ujjawal-khare <ujjawal.khare@dream11.com>
  • Loading branch information
simonsays1980 authored and ujjawal-khare committed Oct 15, 2024
1 parent 46c4f0a commit cff5b18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rllib/examples/rl_modules/classes/action_masking_rlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def compute_values(self, batch: Dict[str, TensorType], embeddings=None):
# to the batch to access them in `_forward_train`.
batch["action_mask"] = action_mask
# Call the super's method to compute values for GAE.
return super().compute_values(batch, embeddings)
return super().compute_values(batch)

def _preprocess_batch(
self, batch: Dict[str, TensorType], **kwargs
Expand Down

0 comments on commit cff5b18

Please sign in to comment.