Comments (5)
Good to know, thanks for reporting this. You can just remove the cache decorator for now and it should all still work, without substantial performance difference. I will replace it with @functools.lru_cache(1000)
in the next release so it works with older Python versions.
from crafter.
Thanks for the quick response but to clarify how would I remove the cache decorator?
from crafter.
There are many ways:
A) You could edit the file in your site-packages folder. The path to it should be printed in your error message.
B) You could clone the repo, edit the file, and run pip3 install .
.
C) In your own code, before importing crafter, you could write functools.cache = functools.lru_cache
.
from crafter.
Ok thank you for this project and also and the last question I have is about the module in general. When/ Are you going to implement multiagent use?
from crafter.
I made the update and the LRU cache should now work also for your Python version.
I like the idea but I don't have any plans for supporting multi-agent training in Crafter for now. Of course there are creatures other than the player in the world that it can interact with.
from crafter.
Related Issues (14)
- dreamer v2 config HOT 1
- Saving videos
- Integration in Envpool HOT 1
- Global View of the map HOT 1
- Clarification about Training and Evalaution Steps HOT 1
- Rainbow Hyperparameters HOT 1
- Any plan to make Crafter compatible with the latest Gym API? HOT 4
- How can I render when training an agent? HOT 4
- Multiagent support HOT 1
- VideoRecorder saving path error HOT 1
- Potentially port to the Griddly RL Engine HOT 3
- Error when using env.render() along with stable-baselines3 HOT 4
- Can't initialize the enviroment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crafter.