Skip to content

Commit

Permalink
fix(pu): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PaParaZz1 committed Jan 23, 2025
1 parent d717529 commit 11ab64d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lzero/mcts/buffer/game_buffer_unizero.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ def _compute_target_reward_value(self, reward_value_context: List[Any], model: A
m_output = model.initial_inference(batch_obs, batch_action)
# ======================================================================

# if not model.training:
# if not in training, obtain the scalars of the value/reward
[m_output.latent_state, m_output.value, m_output.policy_logits] = to_detach_cpu_numpy(
[
Expand Down
2 changes: 1 addition & 1 deletion zoo/atari/config/atari_efficientzero_ddp_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
Overview:
This script should be executed with <nproc_per_node> GPUs.
Run the following command to launch the script:
torchrun--nproc_per_node=2 ./LightZero/zoo/atari/config/atari_efficientzero_ddp_config.py
torchrun --nproc_per_node=2 ./LightZero/zoo/atari/config/atari_efficientzero_ddp_config.py
"""
from ding.utils import DDPContext
from lzero.entry import train_muzero
Expand Down

0 comments on commit 11ab64d

Please sign in to comment.