[WinError 10054] An existing connection was forcibly closed by the remote host
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
File "asyncio\events.py", line 80, in _run
File "asyncio\proactor_events.py", line 165, in _call_connection_lost
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
运行facefusion经常性随机出现以上错误信息,尝试网络上的几种修改方式,问题一直解决不了,后来尝试把asyncio\windows_events.py里面的
DefaultEventLoopPolicy = WindowsProactorEventLoopPolicy
改成
DefaultEventLoopPolicy = WindowsSelectorEventLoopPolicy
后,运行了多次,未再出现错误信息。