Skip to content

Commit

Permalink
Removed Predict Verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
silverlightning926 committed Jun 22, 2024
1 parent 0ca007e commit 476da3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/play/model_vs_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def evaluate_board(board: chess.Board):
encoded_board = encode_board(board)
encoded_board = np.reshape(encoded_board, (1, 8, 8, 12))

prediction = model.predict(encoded_board)
prediction = model.predict(encoded_board, verbose=0)

if turn:
return prediction[0][0]
Expand Down
2 changes: 1 addition & 1 deletion src/play/player_vs_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def evaluate_board(board: chess.Board):
encoded_board = encode_board(board)
encoded_board = np.reshape(encoded_board, (1, 8, 8, 12))

prediction = model.predict(encoded_board)
prediction = model.predict(encoded_board, verbose=0)

if turn:
return prediction[0][0]
Expand Down

0 comments on commit 476da3b

Please sign in to comment.