SadTalker ERROR: No matching distribution found for torch==1.12.1+cu113

If you have Python 3.11 installed on your system, you will get this error when running the webui.bat file for setting up the SadTalker since it does not yet support Python 3.11. The solution is to install previous version of Python (in my case I did Python 3.8 as specified in the dependecies section of cog.yaml which downloaded with the SadTalker code). We will use conda to create a virtual environment just for SadTalker and then use it from there. The first step is to make sure we have Anaconda installed on our system. If not then download and install it from here. Make sure to follow the steps here for downloading the SadTalker files. Launch Anaconda Powershell and run following command to create a new environment for older version of python. Now activate the environment Make sure to validate that it is using desired version of python by checking[…]

Install SadTalker on Windows

Prerequisites: Install ffmpeg on windows In order to install ffmpeg on windows go to https://ffmpeg.org/download.html Follow steps mentioned here is install ffmpeg on your system. https://www.wikihow.com/Install-FFmpeg-on-Windows Now go to SadTalker Github page https://github.com/OpenTalker/SadTalker Go the the dev branch and click on README.md Go to the Download Trained Models section and click on the higlighed link to go to the SadTalker v0.0.2 rc Release Note page Download first four assets and Source Code.zip file Unzip Source code.zip file to a folder. We are are going to extract it to SadTalker-0.0.2-rc folder. In this folder manually create “checkpoints” folder and copy four .tar and .safetensors files in it once those also get downloaded. Open command prompt and go to SadTalker directory. There you would find webui.bat file. Run this file in command prompt to finish the setup. This will take a while to download and setup all required packages the first time.[…]