CSGO_AI
CSGO_AI copied to clipboard
程序报错
运行报错,在VSCode中的输出为:
PS D:\桌面\CSGO-AI-Hack> & D:/Python310/python.exe d:/桌面/CSGO-AI-Hack/CSGO.py 载入神经网络.... D:\Python310\lib\site-packages\torch\nn\modules\conv.py:131: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:68.) self.weight = Parameter(torch.empty( Traceback (most recent call last): File "d:\桌面\CSGO-AI-Hack\CSGO.py", line 53, in <module> model.load_weights(args.weightsfile) # 将权重文件载入,并复制给对应的网络结构model中 File "d:\桌面\CSGO-AI-Hack\darknet.py", line 304, in load_weights self.header = torch.from_numpy(header) RuntimeError: Numpy is not available