Live data from Hacker News

Remaking old computer graphics with AI image generation

jalammar.github.io

41–50 of 86 posts

Re: Remaking old computer graphics with AI image generation

#41

Earlier quoted context omitted.

I think it's just an informal term for things that seem to require human-level AI.

Ah, don’t care for it in that case. Seems like it’s cashing in on the formality associated with algorithms research.

I think you’re insulting all of philosophy there.

But there is a paper about it: https://www.aaai.org/Papers/Symposia/Spring/2007/SS-07-05/SS...

Re: Remaking old computer graphics with AI image generation

#42
post #40

Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object? For example, if there are images of 'Dr. Venom' they need to look similar, or if there are images of the same space ship.

Yes, right now you have 3 options: - dreambooth, ~15-20 minutes finetuning but generally generates high quality and diverse outputs if trained properly, - textual inversion, you essentially find a new "word" in the embedding space that describes the object/person, this can generate good results, but generally less effective than dreambooth, - LORA finetuning[1], similar to dreambooth, but you're essentially finetunin…

> Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object?

...but, all of these can't maintain consistency.

All they can do is generate the same 'concept'. For example, 'pictures of batman' will always generate pictures that are recognizably batman.

However, good luck generating comic cells; there is nothing (that I'm aware of) that will let you generate consistency across images; every cell will have a subtly different batman, with a different background, different props, different lighting, etc.

The image-to-image (and depth-to-image) pipelines will let you generate structurally consistent outputs (eg. here is a bed, here is a building), but they will still be completely distinct in detail, and lack consistency.

This is why all animations using this tech have that 'hand drawn jitter' to them, because it's basically not possible (currently) to say: "an image of batman in a new pose, but that is like this previous frame".

So... to the OP's question:

Recognizable outputs? Yes sure, you've already been able to generate 'a picture of a dog'.

New outputs? Yeah! You can train it for something like 'a picture of 'Renata Glasc the Chem-Baroness' now.

Consistency across outputs? No, not really. Not at all.

Re: Remaking old computer graphics with AI image generation

#43

Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object? For example, if there are images of 'Dr. Venom' they need to look similar, or if there are images of the same space ship.

You can work with embeddings.

Re: Remaking old computer graphics with AI image generation

#44

You'd have to scale the resolution on these waayyy down to not see the usual janky, smudgy, sometimes nightmare-inducing details. I seriously have never understood why what gets published in these blog posts isn't just lower res especially since this is precisely about old video game graphics.

[dead]

Re: Remaking old computer graphics with AI image generation

#46

You'd have to scale the resolution on these waayyy down to not see the usual janky, smudgy, sometimes nightmare-inducing details. I seriously have never understood why what gets published in these blog posts isn't just lower res especially since this is precisely about old video game graphics.

>the usual janky, smudgy, sometimes nightmare-inducing details

I usually don't notice those. It's only when someone mentions it.

Re: Remaking old computer graphics with AI image generation

#47

Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object? For example, if there are images of 'Dr. Venom' they need to look similar, or if there are images of the same space ship.

Hugging face has everything you need to get started with stable diffusion textual inversion training here. It's awesome to get it running but as others have said it has limitations if you're trying to get multiple images for a narrative made etc.

https://huggingface.co/docs/diffusers/training/text_inversio...

Re: Remaking old computer graphics with AI image generation

#48
post #37

I was trying this recently with the Sierra Christmas Card from 1986![0] The images that I generated were[1], and I was trying to tweak the model parameters with different denoising and CFG scales. When you get the parameters just right you can preserve the composition of the input image very well while still adding a lot of detail. This isn't a completely automatic process though, with Stable Diffusion you have to pr…

If you're using stable diffusion 2.0 or later you can use its depth-to-image mode[0] to create variations of an image which respect its composition without having to keep your parameters within a narrow range.

[0] https://github.com/Stability-AI/stablediffusion#image-modifi...

Re: Remaking old computer graphics with AI image generation

#49
post #40

Earlier quoted context omitted.

Yes, right now you have 3 options: - dreambooth, ~15-20 minutes finetuning but generally generates high quality and diverse outputs if trained properly, - textual inversion, you essentially find a new "word" in the embedding space that describes the object/person, this can generate good results, but generally less effective than dreambooth, - LORA finetuning[1], similar to dreambooth, but you're essentially finetunin…

> Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object? ...but, all of these can't maintain consistency. All they can do is generate the same 'concept'. For example, 'pictures of batman' will always generate pictures that are recognizably batman. However, good luck generating comic cells; there is nothing (that I'm aware of) that will let you ge…

I think you can get the effect you're looking for by using the previous cell as an init image and only repainting the character.

As for consistency of character details, I think that will depend on how many images you use to train dreambooth etc. and how varied those images are.[1]

[1]: https://www.youtube.com/watch?v=W4Mcuh38wyM

Re: Remaking old computer graphics with AI image generation

#50
post #40

Earlier quoted context omitted.

Yes, right now you have 3 options: - dreambooth, ~15-20 minutes finetuning but generally generates high quality and diverse outputs if trained properly, - textual inversion, you essentially find a new "word" in the embedding space that describes the object/person, this can generate good results, but generally less effective than dreambooth, - LORA finetuning[1], similar to dreambooth, but you're essentially finetunin…

> Is there a way to have current AI tools maintain consistency when generating multiple images of a specific creature or object? ...but, all of these can't maintain consistency. All they can do is generate the same 'concept'. For example, 'pictures of batman' will always generate pictures that are recognizably batman. However, good luck generating comic cells; there is nothing (that I'm aware of) that will let you ge…

From my experience playing around with dreambooth in the last few weeks generating images of a specific person or pet (not just a generic concept), it surprisingly works really well. But you have to make sure to feed it enough pictures, make sure to label the images properly, use smaller learning rate, use prior preservation loss and make sure to not overfit, etc.

For the animation stuff where you need frame to frame consistency, the new diffusion based video models show that it's possible [1][2]. These are not open source yet as far I know, but it's highly likely that we'll get them within a few months.

1: https://arxiv.org/pdf/2212.11565.pdf

2: https://imagen.research.google/video/paper.pdf

Post reply on HN