Skip to content

question about HackAtari #8

@Tianming40

Description

@Tianming40

Hi,
I forked the master branch from Fixed the README. After I tried to run it, I started to get theModuleNotFoundError: No module named 'hackatari'error message. I tried to install it manually using pip install hackatari, and then ran python train.py again. I got a problem with HackAtari initialization, as shown below. I saw that the game parameter was not provided during initialization. I wonder if this is related to the newly added features.

Traceback (most recent call last):
  File "train.py", line 242, in <module>
    main(**config)
  File "train.py", line 90, in main
    env = NudgeBaseEnv.from_name(environment, mode=algorithm, **env_kwargs)
  File "/Users/tianmingzhang/UNI/第八学期/explainableNudge/nudge/env.py", line 55, in from_name
    return env_module.NudgeEnv(**kwargs)
  File "in/envs/seaquest/env.py", line 25, in __init__
    self.env = HackAtari(env_name="ALE/Seaquest-v5", mode="ram",
TypeError: __init__() missing 1 required positional argument: 'game'

:) thx

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