OpenTalker/video-retalking

Consider updating instructions to a working set

Opened this issue · 0 comments

I suggest updating the install instructions.

I had a hard time getting the installation set up. The order given on the main page installed package versions that conflicted with those in requirements.txt and not all versions were available in the package manager. This finally worked for me, so I am leaving it here for others as something to try if running into trouble as of 2024/10/09:

git clone https://github.com/vinthony/video-retalking.git retalker
cd retalker
conda create -n retalker python=3.10
conda config --add channels conda-forge
conda config --add channels nvidia
conda config --add channels pytorch
conda install cmake==3.25.2 -y
pip install -r requirements.txt
pip3 uninstall torch torchvision torchaudio -y
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7
conda install cudatoolkit-dev
conda install gcc=11.4.0 gxx=11.4.0
chmod u+x inference_videoretalking.sh
./inference_videoretalking.sh

It throws an error because the pth files haven't been downloaded yet, but that is expected.