fairy-stockfish / Fairy-Stockfish

chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more
https://fairy-stockfish.github.io/
GNU General Public License v3.0
612 stars 191 forks source link

Why can't Fairy-Stockfish use NNUE in to Crazyhouse and Atomic #684

Closed M-DinhHoangViet closed 1 year ago

M-DinhHoangViet commented 1 year ago

This is when the BOT plays Crazyhouse with NNUE Exception in thread Thread-4: Traceback (most recent call last): File "C:\Users\PV\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner self.run() File "C:\Users\PV\Downloads\LichessBOT-Viet-main (1)\LichessBOT-Viet-main\game.py", line 44, in run self._make_move() File "C:\Users\PV\Downloads\LichessBOT-Viet-main (1)\LichessBOT-Viet-main\game.py", line 99, in _make_move uci_move, offer_draw, resign = self.lichess_game.make_move() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\PV\Downloads\LichessBOT-Viet-main (1)\LichessBOT-Viet-main\lichess_game.py", line 81, in make_move move, info = self._make_engine_move() ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\PV\Downloads\LichessBOT-Viet-main (1)\LichessBOT-Viet-main\lichess_game.py", line 599, in _make_engine_move result = self.engine.play(self.board, limit, info=chess.engine.INFO_ALL, ponder=ponder) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\PV\AppData\Roaming\Python\Python311\site-packages\chess\engine.py", line 2795, in play return future.result() ^^^^^^^^^^^^^^^ File "C:\Users\PV\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "C:\Users\PV\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\_base.py", line 401, in __get_result raise self._exception File "C:\Users\PV\AppData\Local\Programs\Python\Python311\Lib\asyncio\tasks.py", line 479, in wait_for return fut.result() ^^^^^^^^^^^^ File "C:\Users\PV\AppData\Roaming\Python\Python311\site-packages\chess\engine.py", line 1685, in play return await self.communicate(UciPlayCommand) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\PV\AppData\Roaming\Python\Python311\site-packages\chess\engine.py", line 1094, in communicate return await command.result ^^^^^^^^^^^^^^^^^^^^ chess.engine.EngineTerminatedError: engine process died unexpectedly (exit code: 1)

image

M-DinhHoangViet commented 1 year ago

Only Crazyhouse and Atomic get this error when running Lichess Bot

ianfab commented 1 year ago

The crazyhouse net seems to be missing the nnue suffix in your screenshot

M-DinhHoangViet commented 1 year ago

Okay thanks for the quick response. Maybe it's because of too much that I missed