KwaiVGI / LivePortrait

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

I have followed every step before however problems still exists,please have a look and offer heip #163

Open whazuppp opened 1 month ago

whazuppp commented 1 month ago

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/torch/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/torch/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/torch/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/torch/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /simple/torch/ Could not fetch URL https://pypi.org/simple/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/torch/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))) - skipping WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /whl/cu118/torch/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /whl/cu118/torch/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /whl/cu118/torch/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /whl/cu118/torch/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))': /whl/cu118/torch/ Could not fetch URL https://download.pytorch.org/whl/cu118/torch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='download.pytorch.org', port=443): Max retries exceeded with url: /whl/cu118/torch/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))) - skipping ERROR: Could not find a version that satisfies the requirement torch==2.3.0 (from versions: none) ERROR: No matching distribution found for torch==2.3.0 Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1122)'))) - skipping

whazuppp commented 1 month ago

Is there anything wrong with anaconda not update or i haven't install ffmpeg before creating environment

whazuppp commented 1 month ago

someone to help,please

Inferencer commented 1 month ago

it's an issue with not being able to install torch as it is failing to download the wheel from --extra-index-url https://download.pytorch.org/whl/cu118 if you manually download it from the link you can install directly from the folder you saved it too

FurkanGozukara commented 1 month ago

Use cloud flare vpn and it should get fixed

Also disable your anti-virus before installing

whazuppp commented 1 month ago

it's an issue with not being able to install torch as it is failing to download the wheel from --extra-index-url https://download.pytorch.org/whl/cu118 if you manually download it from the link you can install directly from the folder you saved it too

should i download them all?

Inferencer commented 1 month ago

it's an issue with not being able to install torch as it is failing to download the wheel from --extra-index-url https://download.pytorch.org/whl/cu118 if you manually download it from the link you can install directly from the folder you saved it too

should i download them all?

Oh I didn't look at the link I see how it can look like alot so we will ignore that for now, so the solution as Furkan also mentioned is to use a vpn as your using annaconda you can also try conda install pytorch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 pytorch-cuda=11.8 -c pytorch -c nvidia

If the above does not work you can try

Windows

wget https://download.pytorch.org/whl/cu118/torch-2.3.0+cu118-cp38-cp38-win_amd64.whl
wget https://download.pytorch.org/whl/cu118/torchvision-0.18.0+cu118-cp38-cp38-win_amd64.whl
wget https://download.pytorch.org/whl/cu118/torchaudio-2.3.0+cu118-cp38-cp38-win_amd64.whl
pip install torch-2.3.0+cu118-cp38-cp38-win_amd64.whl
pip install torchvision-0.18.0+cu118-cp38-cp38-win_amd64.whl
pip install torchaudio-2.3.0+cu118-cp38-cp38-win_amd64.whl

Linux

wget https://download.pytorch.org/whl/cu118/torch-2.3.0+cu118-cp38-cp38-linux_x86_64.whl
wget https://download.pytorch.org/whl/cu118/torchvision-0.18.0+cu118-cp38-cp38-linux_x86_64.whl
wget https://download.pytorch.org/whl/cu118/torchaudio-2.3.0+cu118-cp38-cp38-linux_x86_64.whl
pip install torch-2.3.0+cu118-cp38-cp38-linux_x86_64.whl
pip install torchvision-0.18.0+cu118-cp38-cp38-linux_x86_64.whl
pip install torchaudio-2.3.0+cu118-cp38-cp38-linux_x86_64.whl

Then with your requirements_base.txt you can remove the line --extra-index-url https://download.pytorch.org/whl/cu118

If your still having issues let me know if your using Linux or Windows and I will download the wheels for you and upload to GoogleDrive so you can download without issues.