windows运行后无法加载页面
前两天在linux上搭建环境能成功跑出来。今天用windows运行后,页面一直在加载,打开控制台看到有几个请求失败了。这是相关代码更新出问题了吗?
我也是类似情况,运行 python gradio_app.py --device cpu 打开 http://127.0.0.1:7860 就没反应,浏览器控制台上只有几个类似于 https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap 这样的css加载错误的问题。
D:\code\python\DragGAN>python gradio_app.py --device cpu
C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
D:\code\python\DragGAN\stylegan2\op\fused_act.py:22: UserWarning: (This is not error) Switch to native implementation
warnings.warn(
D:\code\python\DragGAN\stylegan2\op\upfirdn2d.py:21: UserWarning: (This is not error) Switch to native implementation
warnings.warn(
Successfully loaded, starting gradio demo
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`.
I noticed the error Error checking compiler version for cl: [WinError 2] The system cannot find the file specified, so I run the command in a vs2022 prompt. However, it's the same. The page of http://127.0.0.1:7860/ is showing Loading... and no response.
I noticed the error
Error checking compiler version for cl: [WinError 2] The system cannot find the file specified, so I run the command in a vs2022 prompt. However, it's the same. The page of http://127.0.0.1:7860/ is showing Loading... and no response.
等两周后官方开源,不管了。
我也是类似情况,运行 python gradio_app.py --device cpu 打开 http://127.0.0.1:7860 就没反应,浏览器控制台上只有几个类似于 https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap 这样的css加载错误的问题。
D:\code\python\DragGAN>python gradio_app.py --device cpu C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn(f'Error checking compiler version for {compiler}: {error}') D:\code\python\DragGAN\stylegan2\op\fused_act.py:22: UserWarning: (This is not error) Switch to native implementation warnings.warn( D:\code\python\DragGAN\stylegan2\op\upfirdn2d.py:21: UserWarning: (This is not error) Switch to native implementation warnings.warn( Successfully loaded, starting gradio demo Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`.
进群之后作者说是开了代理或者网络的问题,检查后还是这个问题
如果机器没有网的话可以运行吗

