Skip to content

Compatibility with Gymnasium #29

@Joakim-Blach-Andersen

Description

@Joakim-Blach-Andersen

Scope RL doesn't appear to be compatible with Gymnasium - only with Gym which is no longer maintained.

dataset = SyntheticDataset(
... env=env,
... max_episode_steps=custom_env.step_per_episode,
... )
Traceback (most recent call last):
File "", line 1, in
File "", line 9, in init
File "/Users/joakimblach/Documents/PhD/research-efficient-off-policy-evaluation/env/lib/python3.11/site-packages/scope_rl/dataset/synthetic.py", line 206, in post_init
raise ValueError(
ValueError: env must be a child class of gym.Env

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions