Home Artists Posts Import Register

Downloads

Content

Patreon exclusive posts index

Join discord and tell me your discord username to get a special rank : SECourses Discord

https://github.com/FurkanGozukara/Stable-Diffusion

https://www.youtube.com/@SECourses/search?query=runpod

How to use NGROK to connect Gradio apps on free Kaggle notebooks : https://youtu.be/iBT6rhH0Fjs

27 May 2024 Update

  • RunPod & Massed Compute Installers and instructions files added

  • Upgraded to the latest libraries

  • plus_ip_v15.zip

21 January 2024 Update

  • SDXL model upgraded to ip-adapter-faceid-plusv2_sd15

  • Kaggle Notebook upgraded to V3 and supports SDXL now

11 January 2024 Update

  • Image saving naming of the Gradio app improved

  • Now it will not anymore overwrite older images

10 January 2024 Update

  • Full tutorial > https://youtu.be/rjXsJ24kQQg

  • If you also upvote this Reddit Post I appreciate very much

  • Face embeddings caching added

  • Now it will calculate face embeddings only if input person image changes and not cached

  • Therefore the image generation speed is many times faster now

8 January 2024 Update

  • SDXL models support added

  • You can also convert SDXL into Diffusers to load models from local Diffusers folders

6 January 2024 Update

  • Convert any model into Diffusers feature added to the very bottom of the App

  • After converting add the folder path into models array

  • Examples added

  • Now you can use any CivitAI model as well with local saving

  • Custom model path input box added. You can give any diffusers repo path including your local path

5 January 2024 Update

  • Free Kaggle notebook added. Follow the notebook instructions

  • Tutorial video in production. Hopefully coming soon

The Main Repo

https://huggingface.co/h94/IP-Adapter-FaceID

Requirements

For this to work you need to have C++ tools installed with Python 3.10.x

Watch this tutorial to install them https://youtu.be/-NjNy7afOQ0

Edit web-ui.py file and add any models from here : https://huggingface.co/stablediffusionapi

You can also convert any model into diffusers local model and give its path or add its path to web-ui

If you want Hugging Face to download models into another drive (not mandatory) use following prompt

  • Start a new CMD as administrator

  • setx HF_HOME "G:\HF_Models"

  • This above command will add a variable to System Environment Variables

  • On RunPod or Linux

  • export HF_HOME="/workspace"

RunPod Install Instructions

Click here to register or open RunPod : https://runpod.io?ref=1aka98lq

Select any GPU - I prefer RTX 3090 - It takes around 2 seconds for each image with 512x768

Select any template - I prefer RunPod Pytorch 2.1

Set volume disk according to how many models you want to download and test e.g. 50 GB

Upload all files inside zip into the workspace folder

Start terminal and execute below command

  • cd /workspace

  • chmod +x linux_install.sh

  • ./linux_install.sh

After install completed use below command to start each time

  • export HF_HOME="/workspace"

  • cd /workspace/

  • source venv/bin/activate

  • python web-ui.py --share

This will give you a Gradio live link. Use it to connect. You can also use RunPod proxy connect feature.

When you are uploading your input picture wait until it fully loads before hit generate button.

Kaggle Instructions

Register a free Kaggle account : https://www.kaggle.com/

Verify your Phone number : https://www.kaggle.com/settings

Start a new notebook by clicking + Create button

Import notebook

Full main tutorial of this notebook > in recording

Select Python and GPU P100 or GPT T2 x2

Instructions are well written on the Notebook

Comments

Hung Do

Installed plus_ip_v13 on windows Python 3.10 got errors. After wasting about couple hours I decided to try on Kraggle and still getting errors. Please see screenshot. https://i.imgur.com/HWvHD8a.png Also my user name on Discord is barepixels, can you upgrade me there?

Anonymous

Hi there, Are there any other download methods?

Art

is it possible to have this notebook for google colab?

Max

Hi. Thank you for good content. Is it possible to run ip-adapter on silicon mac (macbook air m2 24Gb unified memory)?

Samuel Mallevaes

Hello Furkan, I installed IP Adapter with your script and followed your tutorial but when I try to generate images, I got this message whatever the model I choose : safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer / Do you have a solution for this one ? Thanks :)

Furkan Gözükara

Hello. I just did a fresh install. It worked. Can you tell me what is your python version? also your error seems like models are not accurately downloaded. did you have any problem while installing?

Kappa_Neuro

Hi! Could you make a "1 click installer" for PuLID: "Pure and Lightning ID Customization via Contrastive Alignment"? This technology is more advanced than FaceID and shows much better quality. Thanks in advance for the reply. https://github.com/ToTheBeginning/PuLID

Jeff Penny

When I try to use a lora I get this error: raise ValueError(f"The following keys have not been correctly be renamed: \n\n {', '.join(state_dict.keys())}") ValueError: The following keys have not been correctly be renamed: lora_te2_text_projection.lora_down.weight, lora_te2_text_projection.lora_up.weight