You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to MuZero! Here's a list of games:
0. atari
breakout
cartpole
connect4
gomoku
gridworld
lunarlander
simple_grid
spiel
tictactoe
twentyone
Enter a number to choose the game: 2
2022-10-10 16:33:22,009 INFO worker.py:1518 -- Started a local Ray instance.
Traceback (most recent call last):
File "muzero.py", line 650, in
muzero = MuZero(game_name)
File "muzero.py", line 96, in init
ray.init(num_gpus=total_gpus, ignore_reinit_error=True)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 1528, in init
job_config=job_config,
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 2071, in connect
lambda worker_info: sys.path.insert(1, script_directory)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 709, in run_function_on_all_workers
pickled_function = pickle.dumps(function)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\cloudpickle\cloudpickle_fast.py", line 73, in dumps
cp.dump(obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\cloudpickle\cloudpickle_fast.py", line 620, in dump
return Pickler.dump(self, obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 485, in dump
self.save(obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 601, in save
self.save_reduce(obj=obj, *rv)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 689, in save_reduce
save(func)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 601, in save
self.save_reduce(obj=obj, *rv)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 689, in save_reduce
save(func)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 576, in save
rv = reduce(self.proto)
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
The text was updated successfully, but these errors were encountered:
Search before asking
🐛 Describe the bug
I run the script in both 3.7 and 3.9 and there are same problem.
Add an example
(minerl) PS E:\Download\muzero-general-master> python muzero.py
Welcome to MuZero! Here's a list of games:
0. atari
Enter a number to choose the game: 2
2022-10-10 16:33:22,009 INFO worker.py:1518 -- Started a local Ray instance.
Traceback (most recent call last):
File "muzero.py", line 650, in
muzero = MuZero(game_name)
File "muzero.py", line 96, in init
ray.init(num_gpus=total_gpus, ignore_reinit_error=True)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\client_mode_hook.py", line 105, in wrapper
return func(*args, **kwargs)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 1528, in init
job_config=job_config,
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 2071, in connect
lambda worker_info: sys.path.insert(1, script_directory)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray_private\worker.py", line 709, in run_function_on_all_workers
pickled_function = pickle.dumps(function)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\cloudpickle\cloudpickle_fast.py", line 73, in dumps
cp.dump(obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\cloudpickle\cloudpickle_fast.py", line 620, in dump
return Pickler.dump(self, obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 485, in dump
self.save(obj)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 601, in save
self.save_reduce(obj=obj, *rv)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 689, in save_reduce
save(func)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 601, in save
self.save_reduce(obj=obj, *rv)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 689, in save_reduce
save(func)
File "C:\Users\zznZZ.conda\envs\minerl\lib\site-packages\ray\pickle5_files\pickle5\pickle.py", line 576, in save
rv = reduce(self.proto)
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
The text was updated successfully, but these errors were encountered: