这是indexloc提供的服务,不要输入任何密码
Skip to content

Why is Collector mapping randomly sampled actions using map_action? #512

@michalgregor

Description

@michalgregor

Hi, everyone; it seems that in Collector , if random is true, we are sampling agents from the action space using self._action_space[i].sample().

We then apply action_remap = self.policy.map_action(self.data.act) to them just as we do to action generated by the policy.

Is this correct? It seems to me that the actions sampled from the action space should already be scaled correctly and squashing them probably changes their distribution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions