Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IDM output action #5

@yangsl-njfu

Description

@yangsl-njfu

Hello, should the IDM output action in the code be aligned with the real action in the metadrive. Since IDM outputs real world action, should it be normalized to align with the action interval supported by metadrive? Also when I was reading your code I noticed that cropping is done directly on the IDM output action, but is the action interval already aligned with the action interval in metadrive?
takeover_action = safe_clip(np.array(info["raw_action"]), -1, 1) agent_action = safe_clip(np.array(self.input_action), -1, 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions