Skip to content

Instantly share code, notes, and snippets.

@woodRock
Created August 27, 2022 11:10
Show Gist options
  • Save woodRock/a9908df7a1eef62d66b2621b65b7d7e2 to your computer and use it in GitHub Desktop.
Save woodRock/a9908df7a1eef62d66b2621b65b7d7e2 to your computer and use it in GitHub Desktop.
FileNotFoundError for Deforum Stable Diffusion colab notebook Deforum_Stable_Diffusion.ipynb

FileNotFoundError Error Fix

  1. Open the notebook in Colab. https://t.co/mWNkzWtPsK
  2. Run the notebook until you get the following error: FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/AI/models/sd-v1-4.ckpt'
  3. Gain access to the Stable Diffusion weights on HuggingFace https://huggingface.co/CompVis/stable-diffusion-v-1-4-original
  4. Download the Stable Diffusion weights - the "sd-v1-4.ckpt" file.
  5. Upload the "sd-v1-4.ckpt" file to the "AI/models/" directory on Google Drive.
  6. Restart and run the notebook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment