Project 2: Text-to-Image Models

a new york street scene in the style of indian miniature paintings

Fine-tune Stable Diffusion using LoRA with 15-50 images and hand-written captions (you may 'recycle' from folder B of your pix2pix project dataset if you want).

Every caption you write is an act of teaching the machine from your perspective. This is creative work. Although from a different context, you may find this guide to writing alt-text useful.

Questions to consider:

---------------------------------------------------------

Caption Writing as Creative Work

Why hand-written captions matter: Writing captions forces you to articulate what you're teaching the AI. 

Example for a cultural object:

If your token is "weave77" and your class is "tool" your captions might look like:

"a photo of weave77 tool, traditional frame loom, hands arranging warp threads"

"weave77 tool detail view, wooden construction, handmade joints visible"

"weave77 tool in workshop setting, natural light, being demonstrated"

Example for personal style:

If your token is "mystyle2024" and your class is "style" your captions might look like:

"portrait in mystyle2024 style, bold linework, limited color palette, graphic approach"

"landscape in mystyle2024 style, flat shapes, high contrast, minimal detail"

"character design in mystyle2024 style, geometric forms, strong silhouette, clean edges"

Caption Writing Tips:

File/Folder organization:

You should have one folder with your images and .txt files.

There should be one .txt file per caption

 Your image file names and .txt files should match like so:

a diagram of a folder structure that looks like this DataFolder > image1.jpg, image1.txt, image2.jpg, image2.txt

---------------------------------------------------------

Trained Model (we'll train in class next week so skip for now)

Be ready to:

---------------------------------------------------------

Inspo:

tipus tiger as a monument in a sunny park

Tipoo's Tiger as Fine-Tuned AI Image Model by Ambika Joshi (aka Computational Mama) for https://gooey.ai/beyondbias

--------------------------------------------------------

***due week 5***

Finish gathering data and training your model

In discord submit a google drive link containing:











Back to projects