KwaiVGI / LivePortrait

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

torch missing from requirements.txt #415

Closed snobu closed 1 month ago

snobu commented 1 month ago
(py310) snobu@LowExpectations:~/LivePortrait$ python app.py
Traceback (most recent call last):
  File "/home/snobu/LivePortrait/app.py", line 12, in <module>
    from src.utils.helper import load_description
  File "/home/snobu/LivePortrait/src/utils/helper.py", line 9, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'
(py310) snobu@LowExpectations:~/LivePortrait$ grep -i torch requirements*
requirements_macOS.txt:--extra-index-url https://download.pytorch.org/whl/cpu
requirements_macOS.txt:torch==2.3.0
requirements_macOS.txt:torchvision==0.18.0
requirements_macOS.txt:torchaudio==2.3.0

torch is present only in the MacOS dependencies, consider adding it to the base requirements.

snobu commented 1 month ago

Nevermind, i should read the README first, maybe that's why they used to call it README.1st.