Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Fixed MiniGUI-related crashes #990

Merged
merged 3 commits into from Apr 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cc/minigui_gtp_client.cc
Expand Up @@ -279,7 +279,7 @@ GtpClient::Response MiniguiGtpClient::ReplaySgf(

void MiniguiGtpClient::ReportSearchStatus(const MctsNode* leaf,
bool include_tree_stats) {
auto sorted_child_info = player_->tree().CalculateRankedChildInfo();
auto sorted_child_info = player_->tree().CalculateRankedMoveInfo();
auto* root = player_->root();

nlohmann::json j = {
Expand Down
4 changes: 1 addition & 3 deletions minigui/fetch-and-run.sh
Expand Up @@ -40,7 +40,6 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "MINIGUI_BOARD_SIZE: ${MINIGUI_BOARD_SIZE}"
echo "MINIGUI_PORT: ${MINIGUI_PORT}"
echo "MINIGUI_HOST: ${MINIGUI_HOST}"
echo "MINIGUI_CONV_WIDTH: ${MINIGUI_CONV_WIDTH}"
echo "MINIGUI_NUM_READS: ${MINIGUI_NUM_READS}"

pyversion=$($MINIGUI_PYTHON --version)
Expand Down Expand Up @@ -74,7 +73,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "--------------------------------------------------"

BOARD_SIZE=$MINIGUI_BOARD_SIZE $MINIGUI_PYTHON freeze_graph.py \
--model_path=${model_path} --conv_width=$MINIGUI_CONV_WIDTH
--model_path=${model_path}
fi

echo
Expand All @@ -93,7 +92,6 @@ players = {
" --load_file=${model_path}"
" --minigui_mode=true"
" --num_readouts=${MINIGUI_NUM_READS}"
" --conv_width=${MINIGUI_CONV_WIDTH}"
" --resign_threshold=-0.8"
" --verbose=2",
startup_gtp_commands=[],
Expand Down