LivingTheCode.Life
  • Data Structures
  • Algorithms
  • Machine Learning
  • Categories
  • GitHub
GitHub
Twitter
Created By LifeOfCoding
Find me on:
SDLX ControlNet Image Shape Shifting
Jimmy Rousseau
Author: Jimmy Rousseau | Published: 9/24/2023
Machine Learning

SDLX ControlNet

What is controlnet? well it's AI on top of AI, it's a neural network (controlnet) used to extract information from images, to be used as the inputs of the Stable Diffusing model, instead of the image directly, doing so leverages AI to gain better insights in the details we would like to capture.

(this is a bit of an over simplification, if you would like more details on how these things work, I recommend checking out this video by code_your_own_ai on YouTube.)

Checkout the repo on Hugginface

The Code

Let's start by installing & importing required libraries:

Install libraries in needed:

Import:

After that is as simple as this

Articles:
Vehicle Price Prediction
Fine-tune Mistral 7B with autotrain
Refine Image Generation with refinement models
SDLX ControlNet Image Shape Shifting
Dealing with missing values in Datasets
Fine-tune Llama2 on Guanaco Dataset with Autotrain
Fine-tune Llama2 with GPT Generated Dataset
Pandas Helper Functions
Pandas Grouping & Sorting Helpers
Intro to Pandas