description: <p><strong><span style="color:#82c91e">Update</span></strong>: SDXL 1.0 version <a rel="ugc" href="https://civitai.com/models/376696/sdxl-shibuya-kanon-lora?modelVersionId=420658">here</a>, with additional ability to generate Kanon with glasses and training outfit.</p><p></p><p>Trained using around 150 anime screenshots from season 1 and season 2. 20-30 images are chosen from sideway angles (booru tag <code>from side</code>). This is important, as previous models I trained for Kanon as well as other characters lacked the ability to generate sideway images.</p><p></p><p>Activation tag: <code>shibuya kanon</code></p><p>To generate school uniform: <code>student uniform, gray dress, red ribbon, neck ribbon, pinafore dress, white shirt</code></p><p>To generate glasses: <code>glasses</code>. For v2, include <code>bangs, hair between eyes</code> as well (the model will generate her wearing glasses without bangs if not prompted)</p><p></p><h2 id="notes-for-v2">Notes for v2</h2><p>This version produces images extremely close to the anime art style. Most importantly, it rarely distorts her eyes. The key to this might be using a high repeat number and low learning rate, as well as a large enough LoRA capacity (I used 32/16). See changelog (<em>About this version</em> section on the left pane) for more details regarding the training parameters.</p><p>Model and ratio:</p><ul><li><p><strong>Meina_Hentai*</strong>: around 0.6-0.7. I recommend using this since it is what the LoRA has been fine-tuned from. Do not get fooled by the name, it is actually a good SFW model</p></li><li><p><strong>Anything v4.5, AOMv3</strong>: similar to the above. Also precisely describes Kanon, though generated images have high saturation</p></li></ul><p>Demo images did not went through any highres upscaler.</p><h2 id="notes-for-v1">Notes for v1</h2><p>Model and ratio:</p><ul><li><p>Anything v4.5: use a LoRA ratio of around 0.6-0.8</p></li><li><p>Corneos7thHeavenMix: ratio about 0.7-0.8. Good for generating anime style art</p></li><li><p>AOM3A1: around 0.6. Might confuse left and right bangs if generate sideway images</p></li></ul><p>AOM3A1 also has the tendency to change Kanon's hairstyle to <code>hair bun</code>, <code>hair tie</code>, or add random hair bow, ornament, etc. Consider adding those to the negative prompt if you don't want them to appear in your images.</p><p></p><h2 id="comparing-v2-and-v1">Comparing v2 and v1</h2><p>Left: v1, right: v2. All images are generated with <em>Meina_Hentai </em>and <em>AOMv3 </em>VAE</p><p><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/61c06c3b-5443-4dda-9e26-b5e908f64bab/width=525/61c06c3b-5443-4dda-9e26-b5e908f64bab.jpeg" /><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/350cdc16-b19d-4446-888b-c26178ec51f2/width=525/350cdc16-b19d-4446-888b-c26178ec51f2.jpeg" /><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e9e28c14-cfc2-43ee-9653-12c764e25bb9/width=525/e9e28c14-cfc2-43ee-9653-12c764e25bb9.jpeg" /></p>
modelVersions.availability: Public
modelVersions.baseModel: SD 1.5
modelVersions.baseModelType: Standard
modelVersions.description: <p><strong>Update v2</strong></p><p>This new version is trained on the same dataset as before, with 151 anime screencaps.</p><p>The difference is that it is fine-tuned from my custom checkpoint with <em>0.7*Meina_Hentai + 0.3*AnyLoRA</em>. Inference should work on any model, but <em>Meina_Hentai </em>might give the best result (it is a good SFW model, don't get fooled by the name).</p><p>The model is trained with below parameters and <em>repeat 8</em>:</p><pre><code>[additional_network_arguments]
  unet_lr = 0.00025
  text_encoder_lr = 0.0001
  network_dim = 32
  network_alpha = 16
  network_module = "networks.lora"
  
  [optimizer_arguments]
  learning_rate = 0.00025
  lr_scheduler = "cosine_with_restarts"
  lr_scheduler_num_cycles = 3
  lr_warmup_steps = 422
  optimizer_type = "AdamW8bit"
  
  [training_arguments]
  max_train_epochs = 14
  save_every_n_epochs = 2
  save_last_n_epochs = 10
  train_batch_size = 2
  clip_skip = 2
  min_snr_gamma = 5.0
  weighted_captions = false
  seed = 42
  max_token_length = 225
  xformers = true
  lowram = true
  max_data_loader_n_workers = 8
  persistent_data_loader_workers = true
  save_precision = "fp16"
  mixed_precision = "fp16"
  output_dir = "/content/drive/MyDrive/lora_training/output/shibukano"
  logging_dir = "/content/drive/MyDrive/lora_training/log"
  output_name = "shibukano"
  log_prefix = "shibukano"
  save_state = false
  
  [model_arguments]
  pretrained_model_name_or_path = "/content/ashleymix-v2.safetensors"
  v2 = false
  
  [saving_arguments]
  save_model_as = "safetensors"
  
  [dreambooth_arguments]
  prior_loss_weight = 1.0
  
  [dataset_arguments]
  cache_latents = true
  </code></pre><p>The final checkpoint is created by averaging the checkpoints of epoch 12 and 8: <em>0.8*epoch_12 + 0.2*epoch_8</em>.</p>
modelVersions.downloadUrl: https://civitai.com/api/download/models/82716
modelVersions.downloaded: true
modelVersions.downloadUrl: https://civitai.com/api/download/models/82716
modelVersions.AutoV1: CB7B31AB
modelVersions.AutoV2: 8EEBB572C6
modelVersions.AutoV3: 51F55F182D62
modelVersions.BLAKE3: 1E3D25B2DFAF4723A4329190D138A8C31EB15D5025BFE8F773E2B3B8D9415D6C
modelVersions.CRC32: BE519FD8
modelVersions.SHA256: 8EEBB572C66B48DA87D27611C975B841F6B83DBA1B779B7557E51A6F57E10876
modelVersions.format: SafeTensor
modelVersions.name: shibukano-v2.safetensors
modelVersions.pickleScanMessage: No Pickle imports
modelVersions.pickleScanResult: Success
modelVersions.scannedAt: 2023-05-27T12:41:33.128Z
modelVersions.type: Model
modelVersions.virusScanResult: Success
modelVersions.hash: U7J7dp000}Vt[700?w0001~q?b^+00of9ZRO
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a3265816-146a-42a8-acd5-e52ef6d3abf5/width=450/931306.jpeg
modelVersions.hash: UMIXKt~V010fvKv|9{x^I9s.xuRjX9tRxuWX
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d0aebed2-5e3b-453a-bee4-ce1694ab0b0b/width=450/931310.jpeg
modelVersions.hash: UdJ%n7tm57V?}?ofNejsE1aKxutRj?f5R,t7
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4055c2d7-ebcb-4fb4-bce8-373f1cd1fc10/width=450/931307.jpeg
modelVersions.hash: UdKAH9~B56t6#PROIpWBIoo#x]ozRjjYNHIo
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/4603d55d-886b-4850-82f2-f397a8a05b97/width=450/931311.jpeg
modelVersions.hash: UAHK%;000eAJ|.-=0L4:00%2%h9ZAJIT?I?a
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d02d5704-3f3b-4d30-b29f-70aafa8edb48/width=450/931309.jpeg
modelVersions.hash: UUJjxW015RD*}?D%%gNG4o%Logs:R*ozNGWV
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/967678cf-8dbe-44f2-94ab-6f97b9cf49a8/width=450/931308.jpeg
modelVersions.hash: U7Lf%G00000L00eQBsVY00=qY8?F?w^$4=Nd
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9ed611f7-eead-4961-ac04-1bc10c07ac45/width=450/931313.jpeg
modelVersions.hash: UZMj5U~p0#-;s*%Mx]t7s;xvx^t7V@RlRlo2
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/05b69dea-8ed8-4d3c-b9ee-4036d2f63ef0/width=450/931312.jpeg
modelVersions.hash: UHJ@OJ0100~B00NyIt={I9of?a$$^*RlIoD*
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/e6c57fa3-a50b-45d5-8294-f2688b2137a7/width=450/931498.jpeg
modelVersions.hash: UMLWkfM{57~B009uR+-UnNIpRkRj-o-;kCjr
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/483ba25d-9c32-4201-8c4a-ebee9e96f7ad/width=450/931499.jpeg
modelVersions.hash: UIK1B,4o0:~V.9M|F~Rj00flo$nh-4%2R*RP
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/dc16e1f9-b2dd-49a3-af5f-27076f8c215e/width=450/931512.jpeg
modelVersions.hash: UDK^W?}@?bjFS+%M9Z%0MyE3xYNHIVMwJ:IA
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/659f4ac1-fdf9-4875-a042-8439fb1e2963/width=450/931747.jpeg
modelVersions.hash: UCFOZIjc000e}QnhKQS%4nE1~W%2Elt7RPIo
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/ba0ed394-982d-4079-8a1a-960479a8bb16/width=450/931754.jpeg
modelVersions.hash: UEEV1y-o01x]}mn%58Ip00WA-;IpOsoy?F-o
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/7a2d2e1c-aeaf-443d-a07c-eecd8707b9d8/width=450/931756.jpeg
modelVersions.hash: UFFh*P~U0K56HqRiKQXAbcIVNKt801ozxaIU
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/9e3a2dc0-4ddd-4075-8472-b002bd5640c5/width=450/931759.jpeg
modelVersions.name: v2
modelVersions.publishedAt: 2023-05-27T12:38:48.534Z
modelVersions.trainedWords: shibuya kanon
modelVersions.availability: Public
modelVersions.baseModel: SD 1.5
modelVersions.baseModelType: Standard
modelVersions.description: <p>Trained in 150 anime screencaps from season 1 and season 2</p><p>Finetuned from NovelAI (<code>anime-final-pruned-fp16</code>)</p><p><strong>Parameters</strong>:</p><pre><code>[additional_network_arguments]
  unet_lr = 0.0005
  text_encoder_lr = 0.0001
  network_dim = 16
  network_alpha = 8
  network_module = "networks.lora"
  
  [optimizer_arguments]
  learning_rate = 0.0005
  lr_scheduler = "cosine_with_restarts"
  lr_scheduler_num_cycles = 3
  lr_warmup_steps = 130
  optimizer_type = "AdamW8bit"
  
  [training_arguments]
  max_train_epochs = 10
  save_every_n_epochs = 5
  train_batch_size = 2
  clip_skip = 2
  seed = 42
  max_token_length = 225
  xformers = true
  lowram = true
  max_data_loader_n_workers = 8
  persistent_data_loader_workers = true
  save_precision = "fp16"
  mixed_precision = "fp16"
  output_dir = "/content/drive/MyDrive/lora_training/output/shibukano"
  logging_dir = "/content/drive/MyDrive/lora_training/log"
  output_name = "shibukano"
  log_prefix = "shibukano"
  save_state = false
  
  [model_arguments]
  pretrained_model_name_or_path = "/content/animefull-final-pruned-fp16.safetensors"
  
  [saving_arguments]
  save_model_as = "safetensors"
  
  [dreambooth_arguments]
  prior_loss_weight = 1.0
  
  [dataset_arguments]
  cache_latents = true</code></pre>
modelVersions.downloadUrl: https://civitai.com/api/download/models/56136
modelVersions.downloadUrl: https://civitai.com/api/download/models/56136
modelVersions.AutoV1: DE2F2560
modelVersions.AutoV2: 25F66C0A9F
modelVersions.AutoV3: 7D9778053562
modelVersions.BLAKE3: A4A121EE03F4999E410D8B11516189763F9F7CFC620347A8E9D2B60490D33624
modelVersions.CRC32: 3711251B
modelVersions.SHA256: 25F66C0A9FFC2C2549BA8FF0BFDD18044A4F93A7D4E5BA40D6EB8E3860F8769F
modelVersions.format: SafeTensor
modelVersions.fp: fp16
modelVersions.size: full
modelVersions.name: shibukano-anime.safetensors
modelVersions.pickleScanMessage: No Pickle imports
modelVersions.pickleScanResult: Success
modelVersions.scannedAt: 2023-04-26T19:06:18.843Z
modelVersions.type: Model
modelVersions.virusScanResult: Success
modelVersions.hash: UXLD47~A-nERVXMextW.tjt7t8IoRkt7xaNd
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c65962d8-7f7c-4bf0-82d5-3b68dae83f00/width=450/608597.jpeg
modelVersions.hash: U5JZ[00000E100XT2NENNX-:-ptR-rE30gtS
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/6ad06e34-cbf2-4eb3-44f1-42604991ae00/width=450/608593.jpeg
modelVersions.hash: UJK0ytDj00~p}=SiE-IU^hWAx^S5%MIUo#oz
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/73f916f1-a2c0-44dd-8079-53d1ed359000/width=450/608594.jpeg
modelVersions.hash: UTJu154T%zR%^mV?IWXR^joOxCSO^-M_njbF
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/73a6ecb9-c98b-444e-4d32-20cb1ed91700/width=450/608595.jpeg
modelVersions.hash: UcN9,$~V%z%Mo}IUo~S$NbjENKX9ENs.f,S5
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/af51171b-20eb-4826-1ff0-fc6bce194b00/width=450/608596.jpeg
modelVersions.hash: UNJtM6.8F2~p4nofI]={xBE1xGjERjoJNGM_
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c8db2be2-6eac-42c8-d4ba-fa7a99218200/width=450/608592.jpeg
modelVersions.hash: UKMZRL$P0~Nd_2EM_2r[R3-=~BMxt2XSt7V@
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3d192163-01db-4c74-5a0a-1a5e8a22ce00/width=450/608718.jpeg
modelVersions.hash: UDKd3t~V00Q.00IU9at7xX%L~q%LD%IUE1s.
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/41bd7297-8a94-4ca7-5359-2697a2f5d700/width=450/608799.jpeg
modelVersions.hash: UBMsfv0000RQ$_RP?vr=R5NG9x?a~C4.~W9G
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8583bd42-34bc-443a-575d-5e65a11d6000/width=450/608798.jpeg
modelVersions.hash: ULLMw}~B01My0K%19uE200M|XTo#?GD*oNRk
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/c7789397-a3be-4280-996d-b90bfc291d00/width=450/608838.jpeg
modelVersions.hash: UCMGq=4TLz,?CR9D6ARO01ISoin~D~oyE0s;
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/0b718258-dd51-477f-6f83-b7e566871700/width=450/608839.jpeg
modelVersions.hash: UPLWhW~p0M$iITkDNKs,~V-;_3-pxt%MNbRj
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/a71998e0-56e9-4837-4468-77717eb1d900/width=450/608840.jpeg
modelVersions.hash: UWK]+S~UOXxa%3xt-qWU9cM|IVV[IuaKRjxZ
modelVersions.type: image
modelVersions.url: https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2a1e0bd1-f5d2-444e-1bd2-3e063e520300/width=450/632513.jpeg
modelVersions.name: v1
modelVersions.publishedAt: 2023-04-26T19:05:23.895Z
modelVersions.trainedWords: shibuya kanon
name: [LoRA] Shibuya Kanon (Love Live! Superstar!!)
tags: anime character lovelive lora