KwaiVGI / LivePortrait

Bring portraits to life!
https://liveportrait.github.io
Other
13.15k stars 1.4k forks source link

problwm on running LivePortrait-Windows-v20240829 #420

Open hjbortol opened 1 month ago

hjbortol commented 1 month ago

When I run run_windows_human.bat I get the following warning messages. what can be done? I am using LivePortrait-Windows-v20240829

Activating the LivePortrait environment...
Environment activated successfully.
Starting the server...
Waiting for the server to start...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
[10:56:51] Load appearance_feature_extractor from H:\DESIGN\ANIMATION\live                   live_portrait_wrapper.py:46
           portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\pretrained
           _weights\liveportrait\base_models\appearance_feature_extractor.pth done.
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
[10:56:54] Load motion_extractor from H:\DESIGN\ANIMATION\live                               live_portrait_wrapper.py:49
           portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\pretrained
           _weights\liveportrait\base_models\motion_extractor.pth done.
Checking if the server is listening on port 8890...
[10:56:58] Load warping_module from H:\DESIGN\ANIMATION\live                                 live_portrait_wrapper.py:52
           portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\pretrained
           _weights\liveportrait\base_models\warping_module.pth done.
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
[10:57:05] Load spade_generator from H:\DESIGN\ANIMATION\live                                live_portrait_wrapper.py:55
           portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\pretrained
           _weights\liveportrait\base_models\spade_generator.pth done.
[10:57:07] Load stitching_retargeting_module from H:\DESIGN\ANIMATION\live                   live_portrait_wrapper.py:59
           portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\pretrained
           _weights\liveportrait\retargeting_models\stitching_retargeting_module.pth done.
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
[10:57:42] FaceAnalysisDIY warmup time: 12.107s                                                  face_analysis_diy.py:79
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
[10:57:47] LandmarkRunner warmup time: 2.066s                                                human_landmark_runner.py:95
Checking if the server is listening on port 8890...
H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\site-packages\gradio\analytics.py:106: UserWarning: IMPORTANT: You are using gradio version 4.37.1, however version 5.0.1 is available, please upgrade.
--------
  warnings.warn(
Server not ready, waiting 4 seconds...
Checking if the server is listening on port 8890...
Server not ready, waiting 4 seconds...
Running on local URL:  http://127.0.0.1:8890

To create a public link, set `share=True` in `launch()`.
Checking if the server is listening on port 8890...
Server is up and running on http://127.0.0.1:8890
Server is running. Press Ctrl+C to stop.
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] Foi forçado o cancelamento de uma conexão existente pelo host remoto
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] Foi forçado o cancelamento de uma conexão existente pelo host remoto
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "H:\DESIGN\ANIMATION\live portrait\LivePortrait-Windows-v20240829\LivePortrait-Windows-v20240829\LivePortrait_env\lib\asyncio\proactor_events.py", line 162, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] Foi forçado o cancelamento de uma conexão existente pelo host remoto