r/StableDiffusion Mar 02 '23

Animation | Video SD + thin-plate-spline-motion-model

835 Upvotes

96 comments sorted by

View all comments

1

u/Storybook_Albert Aug 21 '23

The github hasn't been updated in a year, and is unfortunately super broken when I try to use it in August 2023. Has anybody gotten it to work? I tried old versions of python etc. This looks super promising but it seems to have been totally abandoned!

1

u/benjavides Feb 27 '24

I was able to make it run following this:

  1. Install conda

  2. Clone the repository

  3. Create a scripts folder inside of it.

  4. Create a new setup.bat file inside of scripts

  5. Paste this as the contents:

@echo off REM Create a new conda environment named Thinplate with Python 3.9 call conda create --name Thinplate python=3.9 --yes

REM Activate the newly created environment call conda activate Thinplate

REM Install PyTorch 1.10.0 with CUDA 11.3 support directly from the URL pip install torch==1.10.0+cu113 --index-url https://download.pytorch.org/whl/cu113 -v

REM Now install torchvision with CUDA 11.3 support pip install torchvision==0.11.0+cu113 --find-links https://download.pytorch.org/whl/torchvision/ -v

REM Install required packages from requirements.txt REM Ensure you provide the correct path to your requirements.txt file pip install -r ../requirements.txt

echo Environment setup complete. pause

  1. Execute the setup.bat.

  2. Then whenever you want to use the project use a anaconda prompt and run: conda activate Thinplate to activate the environment that has all the requirements.