Merge remote-tracking branch 'origin/main'

This commit is contained in:
2024-01-30 23:07:15 +01:00
2 changed files with 5 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ _DIR = os.path.abspath(os.path.dirname(__file__))
class Lc0Strategy(IStrategy):
def __init__(self, path="../lc0/lc0", rollout_depth: int = 4,
def __init__(self, path="lc0/lc0", rollout_depth: int = 4,
limit: chess.engine.Limit = chess.engine.Limit(depth=4)):
super().__init__(rollout_depth)
self._lc0 = None
@@ -35,5 +35,4 @@ class Lc0Strategy(IStrategy):
def analyze_board(self, board: chess.Board) -> int:
score = score_lc0(board, self.lc0)
print("lc0 score", score)
return score