CivArchive
    UltimatePinkPig Realistic - v1.0
    Preview 966526
    Preview 966532
    Preview 966522
    Preview 966527
    Preview 966525
    Preview 966523
    Preview 966524
    Preview 966530
    Preview 966529
    Preview 966528
    Preview 966531
    Preview 966550
    Preview 966552
    Preview 966559
    Preview 966560
    Preview 966564
    Preview 966908
    Preview 967336
    Preview 967383
    Preview 967453

    This is the LoRA for realistic pink piggy.

    Mini usually, pink mostly, but pigs always.

    A lot of people ask me how I trained, so here are the settings:

    Updated May 15 2023: change epoch to 50 and file name (repeat) to 2_xxx.

    1: Koyah_SS GUI

    I use Koyha_SS GUI to train my LORAs.

    Some Key Settings:

    "max_resolution": "768,768"

    (if your GPU is really powerful, using 1024,1024 will be even better)

    "learning_rate": "3e-6",

    "lr_scheduler": "cosine_with_restarts",

    "lr_warmup": "5",

    "train_batch_size": 4,

    "epoch": "5",

    • (May 15 2023: "epoch": "50" with file name 2_xxx)

    "save_every_n_epochs": "40",

    "mixed_precision": "bf16",

    "save_precision": "bf16",

    "enable_bucket": true,

    "use_8bit_adam": false,

    "text_encoder_lr": "1e-5",

    "unet_lr": "5e-5",

    "network_dim": 128,

    "clip_skip": 2,

    "network_alpha": 64,

    "persistent_data_loader_workers": true,

    "optimizer": "Lion"

    If your hardware does not support my setting, tried to reduce the batch size to 2 or 1, this will increase the training time dramatically. If you want training time to be shorter, using epoch 2 will solve that.

    Personally, I use epoch 5 because my hardware supports that and I think a higher epoch might capture more details from the source, but it is not necessary.

    2. Training source image set:

    Image selection:

    50 high-resolution (at least 1024*1024 before cropping) images with around 25 close-up and 20 upper-body shots and 5 full-body images. The more angles of the images the better.

    Preprocess:

    Auto focal crop in webUI with cropping dimension being at least 768*768 and up to 1536*1536.

    Integrate with BLIP and Deepdanbooru for caption, and also use the stable-diffusion-webui-wd14-tagger extension for further captions. Remember to select append on existing captions and also select Remove duplicated tag

    Then I use BooruDatasetTagManager to manually change the captions to my desired ones.

    Image file name:

    50_xxx

    (This means each image in the image file is repeated 50 times)

    • May 15 2023: 2_xxx but with epoch increase to 50

    Then you should be ready to go!

    However, because of source image selection, you might need to give a trial on the resulting LORA and modify the source image several times until you get the LORA you are satisfied. Also, because everyone's hardware could be different, if you can not run 768*768 with batch size 4, try 2 or even 1.

    I think the LORA result is really sensitive to the source images, so the image selection and tagging are the actual important part. Something you could tell what is the “bad” source image by trying out the LORA, and to improve it, you simply delete that "bad" image from the source. And sometimes you find some problem with the LORA suggested you need to modify the tags. For example, always generate a "wet" effect suggesting that you might not have “wet, rain, pool” tagged on a related source image.

    3. Training:

    Check your usually used checkpoint and see what it is based on, then select your base model based on that. good luck training.

    Description

    Based on SD1.5.

    FAQ

    Comments (15)

    ultimatepiggy
    Author
    May 30, 2023· 2 reactions
    CivitAI

    This will be my last LoRA (maybe the second last) for some time because I will be away for a month. Hope your guys enjoy :)

    SantaonholidaysMay 30, 2023
    CivitAI

    Ultimate HaramLora c:

    ultimatepiggy
    Author
    May 30, 2023

    LOL

    beasttheorcMay 30, 2023· 2 reactions
    CivitAI

    Your best LoRA so far lol
    I hope you'll be away for nice reasons, enjoy your time, If not, I hope things get better soon!

    ultimatepiggy
    Author
    May 30, 2023· 1 reaction

    LOL, indeed the BEST LoRA! Everything is fine, it's just I will be really busy and won't have time for any lora training for the next month or so.

    beasttheorcMay 30, 2023

    @ultimatepiggy all success to you!
    Looking forward to your return, hopefully Shibuya Kaho and Rie Tachikawa are in your list of next LoRA to train, one can dream

    motorollaMay 30, 2023· 1 reaction
    CivitAI

    this is adorable thank you!

    ultimatepiggy
    Author
    May 31, 2023

    Thank you!

    kurodahuga843May 31, 2023
    CivitAI

    When the pig is lined with capybara, the pig absorbs the capybara and becomes a kabipara-colored pig.

    Doer.

    ultimatepiggy
    Author
    May 31, 2023

    Hybrid chunky animals are tight!!

    _E_Jun 2, 2023
    CivitAI

    Hey, your Lora are nice but which model do you use to train Lora on? Is it Stable Diffusion original model?

    ultimatepiggy
    Author
    Jun 2, 2023

    For those celebrity ones in use basil mix, for this piggy one I used sd1.5

    _E_Jun 2, 2023

    Thank you! (:

    PromptHellJun 30, 2023
    CivitAI

    Is it possible for you to share the JSON for your configuration file?

    HornikidApr 12, 2024
    CivitAI

    Came here not for the LoRA, but for the guide. Thanks so much.

    LORA
    SD 1.5

    Details

    Downloads
    1,531
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/30/2023
    Updated
    5/11/2026
    Deleted
    -
    Trigger Words:
    ultimatepinkpig

    Files

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.