Skip to content

Commit

Permalink
polish(pu): polish make.sh and alphazero ctree test
Browse files Browse the repository at this point in the history
  • Loading branch information
puyuan1996 committed Nov 15, 2023
1 parent ca2afae commit cfe3c3c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
9 changes: 8 additions & 1 deletion lzero/mcts/ctree/ctree_alphazero/make.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
"""
This script compiles the ctree_alphazero project. The compiled files are stored in the "build" directory.
In summary, this script automates the process of creating a new build directory, navigating into it,
running cmake to generate build files suitable for the arm64 architecture, and running make to compile the project.
"""

# Navigate to the project directory
cd /Users/puyuan/code/LightZero/lzero/mcts/ctree/ctree_alphazero/
cd /Users/<your_user_name>/code/LightZero/lzero/mcts/ctree/ctree_alphazero/

# Create a new directory named "build." The build directory is where the compiled files will be stored.
mkdir build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
max_env_step = int(5e5)
prob_random_action_in_bot = 0.5
mcts_ctree = True

# ==============================================================
# end of the most frequently changed config specified by the user
# ==============================================================
Expand Down Expand Up @@ -41,8 +40,6 @@
screen_scaling=9,
render_mode=None,
# ==============================================================
screen_scaling=9,
render_mode=None,
),
policy=dict(
mcts_ctree=mcts_ctree,
Expand Down

0 comments on commit cfe3c3c

Please sign in to comment.