GerhardTrippen/chess-ocr-bilstm
Image-to-Text • Updated
Error code: JWTInvalidSignature
Exception: InvalidSignatureError
Message: Signature verification failed
Traceback: Traceback (most recent call last):
File "/src/libs/libapi/src/libapi/jwt_token.py", line 286, in validate_jwt
decoded = jwt.decode(
jwt=token,
...<2 lines>...
options=options,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 368, in decode
decoded = self.decode_complete(
jwt,
...<8 lines>...
leeway=leeway,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jwt.py", line 265, in decode_complete
decoded = self._jws.decode_complete(
jwt,
...<3 lines>...
detached_payload=detached_payload,
)
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 270, in decode_complete
self._verify_signature(
~~~~~~~~~~~~~~~~~~~~~~^
signing_input,
^^^^^^^^^^^^^^
...<4 lines>...
options=merged_options,
^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/jwt/api_jws.py", line 417, in _verify_signature
raise InvalidSignatureError("Signature verification failed")
jwt.exceptions.InvalidSignatureError: Signature verification failedNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This is not data that I created. It originally came from the Paper Digitization of Handwritten Chess Scoresheets with a BiLSTM Network
You can also find the dataset here and here
There are 2 versions of this dataset
The Handwritten Chess Scoresheet Datase (HCS) contains a set of single and double paged chess scoresheet images with ground truth labels. The processed images are a list of the extracted move boxes with the corresponding labels. The labels are strings of the chess moves shown in the move boxes.
import datasets
unprocessed_hcs = datasets.load_dataset("Benjaminkost/processed_hcs")
# Show first image
first_image = unprocessed_hcs["train"][0]["image"]
first_label = unprocessed_hcs["train"][0]["labels"]
first_image.show()
print(first_label)