danijar / crafter

Benchmarking the Spectrum of Agent Capabilities
https://danijar.com/crafter
MIT License
373 stars 61 forks source link

Can't initialize the enviroment #9

Closed ImaGonEs closed 1 year ago

ImaGonEs commented 2 years ago

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 :(

danijar commented 1 year ago

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)?