Skip to content

Any plan to make Crafter compatible with the latest Gym API? #17

Description

@sparisi

The latest Gym API expects terminated, truncated rather than just done after a env.step(), and seeds the environment with env.reset(seed=seed) rather than env.seed(seed=seed). It is possible to apply a compatibility wrapper by making the env with env = gym.make('CrafterReward-v1', apply_api_compatibility=True) but to work properly the base env must have the env.seed(seed=seed) function, which your Env class does not have (instead, it has the self._seed attribute).

Is there any plan to add the env.seed() function, to make it fully compatible with the latest API? That would also make it compatible with Gymnasium.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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