LivingTheCode.Life
  • Data Structures
  • Algorithms
  • Machine Learning
  • Categories
  • GitHub
GitHub
Twitter
Created By LifeOfCoding
Find me on:
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
Refine Image Generation with refinement models
Jimmy Rousseau
Author: Jimmy Rousseau | Published: 9/24/2023
Machine Learning

Refine Generated Images with additional models

The technique is simple here, we load up two models to use, one as a base, then use that with the second refinement model like below.

Load in our required libraries:

Image Generation

Start by initializing both of our models, using the first to generate the image, and the second to pass the prompt and the generated image to for additional refinement, and use it's output as out result.