Skip to content

Small bug in PEARLWorker #2246

@eirik-thorp

Description

@eirik-thorp

Hi!
I think there is a small bug in the PEARLWorker class for the PEARL algorithm.
The ´deterministic´ variable should specify if the action should be sampled from the action distribution or if the action should be the mean of the distribution, but in the current implementation the action is always sampled even if ´deterministic == True´.

https://github.com/rlworkgroup/garage/blob/master/src/garage/torch/algos/pearl.py#L742-L745

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions