我运行gradio_server.py,后端警告如下:
UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem . (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
t = torch.tensor([], dtype=storage.dtype, device=storage._untyped_storage.device)
打开本地网页应用后,当我尝试开始运行就出现了以下问题导致无法运行
Something went wrong
Expecting value: line 1 column 1 (char 0)
没有见到类似的问题
我运行gradio_server.py,后端警告如下: UserWarning: Failed to initialize NumPy: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem . (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.) t = torch.tensor([], dtype=storage.dtype, device=storage._untyped_storage.device)
打开本地网页应用后,当我尝试开始运行就出现了以下问题导致无法运行 Something went wrong Expecting value: line 1 column 1 (char 0)
猜测可能是环境中依赖版本不匹配导致的,我想可能需要用conda导出一个完整的可运行环境的requirements.txt