koulanurag / muzero-pytorch Goto Github PK
View Code? Open in Web Editor NEWPytorch Implementation of MuZero
License: MIT License
Pytorch Implementation of MuZero
License: MIT License
I noticed that in the requirements.txt file ray 1.13.0 is given. But the code is not compatible with this version, notable during training here:
ray.wait(workers, len(workers))
wait() only accepts one positional parameter and even if I use ray.wait(workers, num_returns=len(workers)), I get the following error:
wait() expected a list of ray.ObjectRef, got list containing <class 'ray.actor.ActorHandle'>
Still searching for a solution, but if somebody has a good idea, that would be awesome.
[2020-05-09 22:42:48,652][root][ERROR][main.py>] ==> Lost reference to actor
Traceback (most recent call last):
File "main.py", line 80, in
train(muzero_config, summary_writer)
File "/home/noa/cloned/muzero-pytorch/core/train.py", line 343, in train
for rank in range(0, config.num_actors)]
File "/home/noa/cloned/muzero-pytorch/core/train.py", line 343, in
for rank in range(0, config.num_actors)]
File "/home/noa/anaconda3/envs/torch/lib/python3.7/site-packages/ray/actor.py", line 103, in remote
return self._remote(args, kwargs)
File "/home/noa/anaconda3/envs/torch/lib/python3.7/site-packages/ray/actor.py", line 123, in _remote
return invocation(args, kwargs)
File "/home/noa/anaconda3/envs/torch/lib/python3.7/site-packages/ray/actor.py", line 112, in invocation
raise RuntimeError("Lost reference to actor")
RuntimeError: Lost reference to actor
in main.py, there is if args.case == 'atari': from config.atari import muzero_config
,
but there's no atari.py in config folder, just classic_control.py. is this file missing?
Line 105 in 4c008d0
Hi, I am just reading the original Muzero paper and find one detail that keeps me confused. Can I discuss it here?
In the paper, authors said:
We use a discrete support set of size 601 with one support for every integer between โ300 and 300.
I wonder why they choose this support set? Does it have to do with the specific game environment? If I got another game environment other than Atari, (e.g, a game with a maximum reward of 10 at the end of the game). how should I choose the support set?
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.