Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serializing throwing an exception #291

Open
y0sif opened this issue Dec 3, 2024 · 1 comment
Open

Serializing throwing an exception #291

y0sif opened this issue Dec 3, 2024 · 1 comment

Comments

@y0sif
Copy link

y0sif commented Dec 3, 2024

when trying to convert from .nnue to .pt I get this error:

nnue-pytorch/serialize.py", line 292, in read_int32
    raise Exception("Expected: %x, got %x" % (expected, v))
Exception: Expected: 1c1020f2, got 1c102b72

how can I solve this issue?

@y0sif
Copy link
Author

y0sif commented Dec 3, 2024

serialization worked after i tried this network:

image

but when trying to visualize it I get this error:

nnue-pytorch/visualize.py", line 264, in plot_input_weights
    np.arange(int(np.min(img)*127)-1, int(np.max(img)*127)+3)-0.5)/127)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Maximum allowed size exceeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant