SDXL Dreambooth LORA Training Guide on Google Colab - Unlimited AI Images of Yourself
AI Summary
Summary: Creating a Low Rank Adaptation (LORA) File for Stable Diffusion Using Google Colab
- Introduction:
- Previous video: How to create a LORA file for Stable Diffusion.
- LORA files allow creation of AI images of any person, place, or thing.
- Issue: High-end PC or MacBook Pro needed.
- Solution: Free method using Google Colab.
- Steps to Create LORA File:
- Go to GitHub, find “autotrain Advanced” repository.
- Open in Google Colab via the provided link.
- Enter Hugging Face and Enro tokens:
- Sign up for free accounts if needed.
- Generate and copy tokens into Colab.
- Connect to a GPU instance in Google Colab.
- Run the Auto Train code.
- Set up Auto Train public URL using Enro.
- Access the GUI through the Enro link.
- Configure settings:
- Change task to “Dream Booth LORA”.
- Select base model (e.g., Stable Diffusion XL).
- Adjust training parameters.
- Upload training files:
- Use high-quality images from Google Image search.
- Aim for 5-10 images.
- Set prompt and upload images.
- Start training:
- Ignore the warning about charges.
- Training takes 1-2 hours.
- Download the
.safe
tensor file upon completion.- Using the LORA File:
- Copy the
.safe
tensor file to the local machine.- Load the LORA file into a Stable Diffusion software (e.g., Focus, invoke AI).
- Generate images using the trained model.
- Tips:
- Use a celebrity lookalike for better training results.
- Adjust the weight of the LORA to vary adherence to the trained model.
- Experiment with different art styles and settings in the software.
- Conclusion:
- The process allows for the creation of personalized AI images.
- Users can experiment with various styles and settings to produce unique results.
- The method is accessible for those without high-end hardware.