danijar / crafter

Benchmarking the Spectrum of Agent Capabilities

Home Page:https://danijar.com/crafter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't initialize the enviroment

ImaGonEs opened this issue · comments

I followed the instructions but I got the error:

"reset() missing 1 required positional argument: 'self'"

When using:

env = crafter.Recorder(
env, './',
save_stats=True,
save_video=True,
save_episode=True,
)

env.reset()

Any solution? I really would like to try this environment :(

I can't reproduce this. Can you post a complete runnable example and make sure you're not using an outdated PyPi released (pip install -U crafter)?