2024-09-05 00:06:07,202 ERROR [BotThread]game_state.py:610 | Bot react error: failed to get reaction
Caused by:
0: failed to execute `react_batch` on Python engine
1: RuntimeError: Could not infer dtype of numpy.float32
Traceback (most recent call last):
File "/Users/s/Downloads/aa/game/game_state.py", line 608, in _react_all
output_reaction = self.mjai_bot.react_batch(self.mjai_pending_input_msgs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/s/Downloads/aa/bot/bot.py", line 74, in react_batch
last_reaction = self.react(input_list[-1])
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/s/Downloads/aa/bot/bot.py", line 125, in react
react_str = self.mjai_bot.react(str_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: failed to get reaction
Caused by:
0: failed to execute `react_batch` on Python engine
1: RuntimeError: Could not infer dtype of numpy.float32
main.py程序能跑通 使用了本地模型local mortal.pth,进入对局后无法显示ai提示。 系统macOS14.6.1 代码如下
或者是否能打包一个mac版本的客户端?