Should have put a disclaimer with this one. The main goal of this was to successfully train over NAI, artist is Sakimi Chan, I won't be releasing the model and this will be the only image on the internet coming from it. Spending hours inpainting was the fun part and is quite addictive.
For the ones interested, it took 13k steps on 37 deepdanbooru captioned instance images and no prior preservation to get here, not sure why but it seems like training on NAI takes a bit more steps than regular SD before I get satisfactory results, still think the default model style is too present on this one but it'll stay as is.
There is no magic prompt, the custom models do most of the initial styling.
It started with just the model token on a random image from the net in img2img at mid range denoise (0.4s), resized to 2x with Remacri from 512x768, sent to inpainting and then painted what was needed like "modeltoken, white cat", "modeltoken, stairs", "modeltoken, plaid dress, belt, belt buckle", etc. Since this was trained on NAI, danbooru tags were used, it's amazing the flexibility they offer.
It's not hard and quite fun in my opinion, experimentation breeds creativity, I didn't have a particular image in mind when I started, it just formed into this like a fog slowly lifting.
To try this method, if you haven't trained one yourself, pick a shared style model you like most, go to Unsplash and choose a random image (doesn't even need to be related to the training data), send that to img2img and just type the model token, create a few images playing with CFG and denoise settings and pick the one with best potential, then just work from there.
Here is another example with the initial image and the final result on another custom model, sorry I lost the link to the Unsplash page to give proper credit, only used inpainting on the face and picked one of 4 generations for a quick test of the methodology.
why did you use deepdanbooru? I believe captioning won't make a difference since you are going to train a single class right?
And if you don't mind, how many class images did you use? and did you set the class image to "person" or something els?
I'm still experimenting with that, trying to find if using captions to nudge the training to certain tags might be useful in terms of style flexibility, not using them might be harder to stray from the default "NAI-look" even using the model token. This is specially useful when training TI embeddings/HN, for Dreambooth I'm not so sure but I'm guessing it might help. However, you don't train the class, you train the instance, using the instance prompt, if the prompt changes during training as with captions, it will train that prompt instead, that's the ideia behind the new multiple concept training, you just train for more than one prompt in the same session, how you load the prompts can depend from implementation, I load them from a csv file, Shivam uses json behind the scenes, TheLastBen filenames, etc.
For this particular run I went without prior preservation, no class images. If I had to, I would probably generate a few hundred images with the prompt "masterpiece, high quality, 1girl" as that's probably what most closely resembles the dataset from the base model, then the class token could be something like "style", "1girl" or "person", not really sure how that would influence the training but it's fine running without class images too.
Yeah that's where I think the model could be improved. The original artist style is a bit like that but most of the generated images don't quite pick that up and stick to a more NAI-esque style, perhaps with clever prompting this could be mitigated to some degree.
This happened when I tried to redo the upscaled face with just the model token as prompt, it works but to make it all cohesive, I should probably send this to Photoshop and do some retouching there plus some more inpainting. In the end, that was not the goal and this was most of an experiment after I trained the model, it really shows on some places.
The funniest thing is the amount of effort you need to put in to not get a big breasted wet dream sometimes. Like I tried Novel AI I put in "Man doing x" and I get a big breasted woman doing x, usually I need to put some excessive descriptors and even then the AI says screw it you want porn.
Well its picking up from the internet and the internet ain't nothing but big breasted women. I straight up put mommy milkers into the Wonder app just to see and was like wow this is insane
30 comments
Deleted before we saved it.
Should have put a disclaimer with this one. The main goal of this was to successfully train over NAI, artist is Sakimi Chan, I won't be releasing the model and this will be the only image on the internet coming from it. Spending hours inpainting was the fun part and is quite addictive.
For the ones interested, it took 13k steps on 37 deepdanbooru captioned instance images and no prior preservation to get here, not sure why but it seems like training on NAI takes a bit more steps than regular SD before I get satisfactory results, still think the default model style is too present on this one but it'll stay as is.
A follow up with the workflow.
There is no magic prompt, the custom models do most of the initial styling.
It started with just the model token on a random image from the net in img2img at mid range denoise (0.4s), resized to 2x with Remacri from 512x768, sent to inpainting and then painted what was needed like "modeltoken, white cat", "modeltoken, stairs", "modeltoken, plaid dress, belt, belt buckle", etc. Since this was trained on NAI, danbooru tags were used, it's amazing the flexibility they offer.
It's not hard and quite fun in my opinion, experimentation breeds creativity, I didn't have a particular image in mind when I started, it just formed into this like a fog slowly lifting.
To try this method, if you haven't trained one yourself, pick a shared style model you like most, go to Unsplash and choose a random image (doesn't even need to be related to the training data), send that to img2img and just type the model token, create a few images playing with CFG and denoise settings and pick the one with best potential, then just work from there.
Here is another example with the initial image and the final result on another custom model, sorry I lost the link to the Unsplash page to give proper credit, only used inpainting on the face and picked one of 4 generations for a quick test of the methodology.
Fantastic work thanks for sharing!
interested in your rationale behind not sharing model or new images generated by it?
why did you use deepdanbooru? I believe captioning won't make a difference since you are going to train a single class right?
And if you don't mind, how many class images did you use? and did you set the class image to "person" or something els?
I'm still experimenting with that, trying to find if using captions to nudge the training to certain tags might be useful in terms of style flexibility, not using them might be harder to stray from the default "NAI-look" even using the model token. This is specially useful when training TI embeddings/HN, for Dreambooth I'm not so sure but I'm guessing it might help. However, you don't train the class, you train the instance, using the instance prompt, if the prompt changes during training as with captions, it will train that prompt instead, that's the ideia behind the new multiple concept training, you just train for more than one prompt in the same session, how you load the prompts can depend from implementation, I load them from a csv file, Shivam uses json behind the scenes, TheLastBen filenames, etc.
For this particular run I went without prior preservation, no class images. If I had to, I would probably generate a few hundred images with the prompt "masterpiece, high quality, 1girl" as that's probably what most closely resembles the dataset from the base model, then the class token could be something like "style", "1girl" or "person", not really sure how that would influence the training but it's fine running without class images too.
ai became heaven for nerds
I liked the art tho <3
:v looks like sakimi chan
Prompt?
Posted the workflow here.
Deleted before we saved it.
Yeah that's where I think the model could be improved. The original artist style is a bit like that but most of the generated images don't quite pick that up and stick to a more NAI-esque style, perhaps with clever prompting this could be mitigated to some degree.
This happened when I tried to redo the upscaled face with just the model token as prompt, it works but to make it all cohesive, I should probably send this to Photoshop and do some retouching there plus some more inpainting. In the end, that was not the goal and this was most of an experiment after I trained the model, it really shows on some places.
Well done. Especially the hairy pussy between her legs adds a lot of personality to the art piece.
GIF not downloaded
Everything looks bigger when held by small hands.
Can yall please make something else
The funniest thing is the amount of effort you need to put in to not get a big breasted wet dream sometimes. Like I tried Novel AI I put in "Man doing x" and I get a big breasted woman doing x, usually I need to put some excessive descriptors and even then the AI says screw it you want porn.
Well its picking up from the internet and the internet ain't nothing but big breasted women. I straight up put mommy milkers into the Wonder app just to see and was like wow this is insane
Deleted before we saved it.
GIF not downloaded
Deleted before we saved it.
Spotted the non-artist
Deleted before we saved it.
Meh. All that effort for custom model and hours of inpainting, might as well draw it by hand?
Uhm...but you post nude and even nude horse
Thank you for admiring my artwork