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
Copy file name to clipboardexpand all lines: games/atari.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ def __init__(self):
18
18
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
19
19
20
20
self.seed=0# Seed for numpy, torch and the game
21
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
21
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/breakout.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ def __init__(self):
18
18
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
19
19
20
20
self.seed=0# Seed for numpy, torch and the game
21
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
21
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/cartpole.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def __init__(self):
13
13
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
14
14
15
15
self.seed=0# Seed for numpy, torch and the game
16
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
16
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/connect4.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ def __init__(self):
12
12
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
13
13
14
14
self.seed=0# Seed for numpy, torch and the game
15
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
15
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/gomoku.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def __init__(self):
13
13
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
14
14
15
15
self.seed=0# Seed for numpy, torch and the game
16
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
16
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/gridworld.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ def __init__(self):
18
18
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
19
19
20
20
self.seed=0# Seed for numpy, torch and the game
21
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
21
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/lunarlander.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ def __init__(self):
13
13
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
14
14
15
15
self.seed=0# Seed for numpy, torch and the game
16
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
16
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/simple_grid.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ def __init__(self):
12
12
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
13
13
14
14
self.seed=0# Seed for numpy, torch and the game
15
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
15
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/tictactoe.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ def __init__(self):
12
12
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
13
13
14
14
self.seed=0# Seed for numpy, torch and the game
15
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
15
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
Copy file name to clipboardexpand all lines: games/twentyone.py
+1-1
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ def __init__(self):
19
19
# More information is available here: https://github.com/werner-duvaud/muzero-general/wiki/Hyperparameter-Optimization
20
20
21
21
self.seed=0# Seed for numpy, torch and the game
22
-
self.max_num_gpus=None# Fix the maximum number of GPUs to use. By default muzero uses every GPUs available
22
+
self.max_num_gpus=None# Fix the maximum number of GPUs to use. It's usually faster to use a single GPU (set it to 1) if it has enough memory. None will use every GPUs available
), f"Observation should match the observation_shape defined in MuZeroConfig. Expected {self.config.observation_shape} but got {numpy.array(observation).shape}."
0 commit comments