-
Notifications
You must be signed in to change notification settings - Fork 13
Description
No matter which .pgn file I try, I seem to get various errors after running "9-pgn_to_training_data.sh" which in turn runs "split_by_player.py".
Here is the error output when trying to use my own Lichess games:
2023-04-07 06:38:39 split_by_player.py finndave.pgn finndave output/split/games 2023-04-07 06:38:39 Starting split_by_player 2023-04-07 06:38:39 Error encounteredlayers from finndave.pgn Traceback (most recent call last): File "split_by_player.py", line 48, in <module> main() File "/home/david/anaconda3/envs/transfer_chess/lib/python3.7/site-packages/backend-1.0.0-py3.7.egg/backend/utils.py", line 112, in wrapped_main val = mainFunc(*args, **kwds) File "split_by_player.py", line 25, in main for i, (d, l) in enumerate(games): File "/home/david/anaconda3/envs/transfer_chess/lib/python3.7/site-packages/backend-1.0.0-py3.7.egg/backend/pgn_parsering.py", line 20, in __iter__ yield next(self) File "/home/david/anaconda3/envs/transfer_chess/lib/python3.7/site-packages/backend-1.0.0-py3.7.egg/backend/pgn_parsering.py", line 41, in __next__ raise RuntimeError(l) RuntimeError: