You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
或者是否能打包一个mac版本的客户端?
The text was updated successfully, but these errors were encountered:
This issue may be caused by the torch version is incompatible with the numpy version. Please use the pip or other tools to downgrade numpy to a version below 2.0
main.py程序能跑通 使用了本地模型local mortal.pth,进入对局后无法显示ai提示。
系统macOS14.6.1
代码如下
或者是否能打包一个mac版本的客户端?
The text was updated successfully, but these errors were encountered: