Thanks for the interest in this LoRA creation. This project has been conducted in Stable Diffusion 1.5 since March 2023.The objective of this project is to create an ideal training data set for LoRA. After the launching of SDXL, the scope of this research was expanded to this new version.
The face of the researcher was taken as reference in order to create the training set. 15 photos were taken purposely for AI training only. These 15 photos contain different angles of face and shoulder to fulfill the AI training requirement.
After trying different combinations of settings, an optimal adjustment was found.
Comparison of Dim256, Dim128, and no LoRA respectively.
*********************************************************
Here is the log for different version.
Beta1: First trying with suggested learning rate 4e-7, resolution 1024x1024, dimension 256, alpha 256, optimizer: Adafactor. Result unsatisfied.
Beta2: Change the learning rate in Beta1 to 0.0004. Result unsatisfied.
Beta3: Reduce the learning rate in Beta2 to 0.0001, increase the steps of each photo to 100. Result unsatisfied.
Beta4: Replace the resolution in Beta3 to 2048x2048, reduce the steps of each photo to 20. Result unsatisfied.
Beta5: Increase the steps of each photo to 100 in Beta4. Result unsatisfied.
Beta6: Applying learning rate 0.0004, resolution 1024x1024, 20 steps of each photo, alpha 1. Result unsatisfied.
Beta7: Reduce learning rate to 0.0001, resolution 960x960, alpha 256. Result unsatisfied.
Beta8: Reduce learning rate to 0.00001, resolution 1024x1024, 20 steps of each photo. Result unsatisfied.
Beta9: Reduce learning rate to 0.000005. Result unsatisfied.
Beta10: Reduce resolution 512x512, 40 steps of each photo. Result unsatisfied
Beta11: Using two subset of resolutions 512x512 and 1024x1024, 40 steps of each photo. Set max resolution to 512x512, dimension 128, alpha 128. Result unsatisfied.
Beta12: Set Max resolution to 1024x1024, dimension 64, alpha 64. Result unsatisfied.
Beta13: Replace optimizer to prodigy, learning rate 1, dimension 128, alpha 128. Result unsatisfied
Beta14: Replace optimizer to adamW8bits, learning rate 0.0001, 20 steps, dimension 256, alpha 256. Result satisfied.
Beta15: Reduce the learning rate to 0.000005. Result satisfied. Uploaded to Civitai as version 1. Marked as miletone.
Beta16: Increase the learning rate to 0.00001, no better results.
Beta17: Reduce the learning rate to 0.000005, dimension 128, alpha 128. Applying Text Encoder learning rate to 0.000005, Unet learning rate to 0.00001. No better results.
Beta18: Removed Text Encoder learning rate and Unet learning rate. No better results.
Beta19: Increased learning rate to 0.0001, resolution 512x512 only, 80 steps, dimension 256, alpha 256, clip skip 2. No better results.
Beta20: Reduced learning rate to 0.00001. No better results.
Beta21: Increased resolution to 960x960. No better results.
Beta22: Reduced learning rate to 0.000001, resolution 1024x1024, 100 steps. No better results.
Beta23: Reduced learning rate to 0.0000004, 400 steps. No better results.
Beta24: Reduced steps to 200, dimension 64, alpha 64, skip clip 1. No better results.
Beta25: Increased learning rate to 0.00001, 30 steps, dimension 256, alpha 256. Result satisfying. Marked as second milestone.
Beta26: Reduced learning rate to 0.000005, 20 steps, No better results.
Beta27: Increased learning rate to 0.00001, 30 steps, dimension 64, alpha 64. Result satisfying.
Beta28: Replace new training data set. Uploaded to Civitai as Dim64 version.
Beta29: Increased dimension to 256, alpha 256. No better results.
Beta30: Increased resolution to 1536x1536. No better results
Beta31: Increased resolution to 2048x2048. No better results
Beta32: Changed resolution to 1536x2048. No better results
Beta33: Reduced resolution to 1280x1280, 40 steps. No better results
Beta34: Changed resolution to 1024x1536, 30 steps, new set of the training data. No better results.
Beta35: Changed resolution to 1024x1280. No better results.
Beta36: Changed resolution to 1024x1024. No better results.
Beta37: Changed resolution to 1024x1024, 50 steps. No better results.
*********************************************************
Since it is ongoing project, your valuable feedback is important, in order to bring this project to the next level.