CSGO_AI icon indicating copy to clipboard operation
CSGO_AI copied to clipboard

程序报错

Open nongze opened this issue 2 years ago • 0 comments

运行报错,在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

nongze avatar Sep 25 '22 02:09 nongze