Skip to content

Commit

Permalink
Update references after repo transfer to official-stockfish
Browse files Browse the repository at this point in the history
  • Loading branch information
Sopel97 committed Aug 22, 2023
1 parent cf579af commit 62d5d0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/easy_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ def parse_cli_args():
)
parser.add_argument(
'--nnue-pytorch-branch',
default='glinscott/nnue-pytorch/master',
default='official-stockfish/nnue-pytorch/master',
type=str,
metavar='BRANCH_OR_COMMIT',
dest='nnue_pytorch_branch',
Expand Down
2 changes: 1 addition & 1 deletion serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def decode_leb_128_array(arr, n):

# hardcoded for now
VERSION = 0x7AF32F20
DEFAULT_DESCRIPTION = "Network trained with the https://github.com/glinscott/nnue-pytorch trainer."
DEFAULT_DESCRIPTION = "Network trained with the https://github.com/official-stockfish/nnue-pytorch trainer."

class NNUEWriter():
"""
Expand Down
2 changes: 1 addition & 1 deletion visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def plot_input_weights(self):
if default_order:
# Piece centric, but with flipped king position.
# Same order as used by https://github.com/hxim/Stockfish-Evaluation-Guide.
# See also https://github.com/glinscott/nnue-pytorch/issues/42#issuecomment-753604393.
# See also https://github.com/official-stockfish/nnue-pytorch/issues/42#issuecomment-753604393.
inpos = [[(7- kipos[0]) + pipos[0] *8, kipos[1]+(7-pipos[1])*8],
[(7-(kipos[0]^7))+(pipos[0]^7)*8, kipos[1]+(7-pipos[1])*8]]
d = - 8 if piece < 2 else 48 + (piece // 2 - 1) * 64
Expand Down

0 comments on commit 62d5d0c

Please sign in to comment.