-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #105 from invoke-ai/replace-pokemon-dataset
Replace the lambdalabs/pokemon-blip-captions dataset
- Loading branch information
Showing
24 changed files
with
250 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
output/ | ||
test_configs/ | ||
/output/ | ||
/test_configs/ | ||
/data/ | ||
|
||
# pyenv | ||
.python-version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
src/invoke_training/sample_configs/sd_lora_baroque_1x8gb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Training mode: Finetuning with LoRA | ||
# Base model: SD 1.5 | ||
# Dataset: https://huggingface.co/datasets/InvokeAI/nga-baroque | ||
# GPU: 1 x 8GB | ||
|
||
# Instructions: | ||
# 1. Download the dataset from https://huggingface.co/datasets/InvokeAI/nga-baroque. | ||
# 2. Update the `jsonl_path` field in the `data_loader` section to point to the `metadata.jsonl` file of the downloaded | ||
# dataset. | ||
|
||
# Notes: | ||
# This config file has been optimized for the primary goal of achieving reasonable results *quickly* for demo purposes. | ||
|
||
type: SD_LORA | ||
seed: 1 | ||
base_output_dir: output/baroque/sd_lora | ||
|
||
optimizer: | ||
optimizer_type: Prodigy | ||
learning_rate: 1.0 | ||
weight_decay: 0.01 | ||
use_bias_correction: True | ||
safeguard_warmup: True | ||
|
||
data_loader: | ||
type: IMAGE_CAPTION_SD_DATA_LOADER | ||
dataset: | ||
type: IMAGE_CAPTION_JSONL_DATASET | ||
# Update the jsonl_path field to point to the metadata.jsonl file of the downloaded dataset. | ||
jsonl_path: data/nga-baroque/metadata.jsonl | ||
resolution: 512 | ||
aspect_ratio_buckets: | ||
target_resolution: 512 | ||
start_dim: 256 | ||
end_dim: 768 | ||
divisible_by: 64 | ||
caption_prefix: "A baroque painting of" | ||
dataloader_num_workers: 4 | ||
|
||
# General | ||
model: runwayml/stable-diffusion-v1-5 | ||
gradient_accumulation_steps: 1 | ||
mixed_precision: fp16 | ||
xformers: False | ||
gradient_checkpointing: True | ||
|
||
max_train_epochs: 15 | ||
save_every_n_epochs: 1 | ||
validate_every_n_epochs: 1 | ||
|
||
max_checkpoints: 5 | ||
validation_prompts: | ||
- A baroque painting of a woman carrying a basket of fruit. | ||
- A baroque painting of a cute Yoda creature. | ||
train_batch_size: 4 | ||
num_validation_images_per_prompt: 3 |
45 changes: 0 additions & 45 deletions
45
src/invoke_training/sample_configs/sd_lora_pokemon_1x8gb.yaml
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
src/invoke_training/sample_configs/sdxl_lora_and_ti_pokemon_1x24gb.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.