Skip to content

Instantly share code, notes, and snippets.

@mberman84
Last active April 29, 2024 18:40
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mberman84/7029a8c3bc57c143c1e1b546e9cd0ed0 to your computer and use it in GitHub Desktop.
Save mberman84/7029a8c3bc57c143c1e1b546e9cd0ed0 to your computer and use it in GitHub Desktop.
text-to-video install
conda create --name myenv python=3.10.11
conda activate myenv
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
git clone -b dev https://github.com/camenduru/Text-To-Video-Finetuning
git clone https://huggingface.co/kabachuha/potat1-with-text-encoder-original-format/tree/main
pip install -r requirements.txt
python inference.py -m "C:\Users\USER\Desktop\content\potat1" -p "ducks in a lake" -W 320 -H 320 -o "C:\Users\USER\Desktop\content\Text-To-Video-Finetuning\outputs" -d cuda -x -s 33 -g 23 -f 30 -T 24
@KirinCFD
Copy link

@ruvart
Copy link

ruvart commented Sep 18, 2023

the git clone https://huggingface.co/kabachuha/potat1-with-text-encoder-original-format/tree/main does not work. It says "Not Found"

That happened to mi too, but I changed the url to "https://huggingface.co/kabachuha/potat1-with-text-encoder-original-format" and that semed to work

@Biribin
Copy link

Biribin commented Jan 5, 2024

@chaoticdaos
Copy link

chaoticdaos commented Apr 29, 2024

OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like C:\Users\A\Desktop\content\potat1 is not the path to a directory containing a scheduler_config.json file.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

offline mode tries to get me to put "source .env/bin/activate"
I'm not a coder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment