oscarknagg / wurm Goto Github PK
View Code? Open in Web Editor NEWMassively multiagent reinforcement learning in a slither.io like environment
Massively multiagent reinforcement learning in a slither.io like environment
Hello, Oscar
Thank you for showing nice code.
I tried to run that code, but had some issue.
At main.py, 'a2c = A2C(model, gamma=args.gamma)' give a error message like a
' TypeError: init() got multiple values for argument 'gamma' '.
I find that A2C class do not receive a model argument. Thus, I modify that like as 'a2c = A2C(gamma=args.gamma)'.
At the, I get another error message like ' RuntimeError: The size of tensor a (512) must match the size of tensor b (20) at non-singleton dimension 1 '.
It runs well when I set a num-envs argument same as a a update-steps argument'
Finally, I can run code after commenting out a 'logger.write(logs)' line because of some error.
However, even after turning the code like this, it seems that the length of the snake continues to 3 even after 30 minutes.
If you have any modified code, please let me know.
Thank you.
From Dohyeong
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.