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

Skip to content

Remove additional_observation_spaces in favor of wrappers #87

@mickvangelderen

Description

@mickvangelderen
          An alternative to this is to always return zero and implement wrappers for each game that set the reward. That seems a bit nicer to me in terms of layering things.

Same goes for the observation spaces. The base class here could just return an image and everything else in the info dict, and the wrapper could parse things from info into the obs.

WDYT?

https://gymnasium.farama.org/tutorials/gymnasium_basics/implementing_custom_wrappers/#inheriting-from-gymnasium-wrapper

Originally posted by @garymm in #86 (comment)

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