Better HN
topnewbestaskshowjobs
Log inSign up

mpaepper

652 karma · joined Nov 12, 2013 (13y ago) · 186 submissions

www.paepper.com/blog twitter.com/mpaepper
Submissions

comment 4y ago · link · parent

That's interesting, thanks! I actually generate one image per query and use the lexica API to sample others that are similar / related

comment 4y ago · link · parent

It's called dropshipping. I have a provider who gets the GAN upsampled image and the order info. They print and send it to the customer.

comment 4y ago · link · parent

Do they automatically upsample the images to print quality with a GAN model? That's what I'm doing in the background.

comment 4y ago · link · parent

I see it this way: I provide a means for users to generate what they like, but I'm not mass selling those designs. If a single person uses tshirt pens to paint mickey mouse on their shirt, Disney would probably not sue them. Also there is no way knowing whether I sold any mickey mouse shirts.

comment 4y ago · link · parent

Thank you :)

comment 4y ago · link · parent

Yes, I use the lexica API and in addition generate a unique image with stable diffusion!

comment 4y ago · link · parent

I do both, I generate one image on demand and query others from lexica :)

comment 4y ago · link · parent

Author here:

I wanted to print a stable diffusion design on a t-shirt as a birthday gift, but needed to solve technical challenges to do that (quality, upscaling etc). Then I thought it'd be fun to provide this as a service for others.

You simply enter your design wish as a text and via stable diffusion a design is generated for you and you can see how it looks on a t-shirt.

Ask me any questions!

129.

Show HN: Let the computer be your unique t-shirt designer with Stable Diffusion(thisshirtexists.com ↗)

48 points · by mpaepper · 4y ago · 61 comments

comment 4y ago · link · parent

Here a bit more in depth how it works: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

131.

Annotated PyTorch paper annotations side by side(nn.labml.ai ↗)

2 points · by mpaepper · 4y ago · discuss

comment 4y ago · link · parent

Congrats on the launch, it looks very nice and works well. And kind of funny as it was just the entry above my own Show HN where I featured creating and printing t-shirts using stable diffusion, so quite related :D

Do you use ESRGAN for upscaling the images for print as well?

comment 4y ago · link · parent

I am currently mostly using ESRGAN for upscaling

comment 4y ago · link · parent

What AI model do you use to scale the images up for printing?

comment 4y ago · link · parent

Author here:

I built this as a side project when I wanted to print a stable diffusion design on a t-shirt as a birthday gift. The challenge is that the stable diffusion images are only 512x512px, so I use other AI models to upscale them to print resolution.

On the site you can directly experiment, i.e. enter a prompt -> get a design illustrated on a t-shirt.

Alternatively, you can upload existing designs, for example from https://lexica.art

Have fun and let me know what you think and how I can improve it :)

Here is an animation of how it works: https://www.thisshirtexists.com/wp-content/uploads/2022/09/t...

136.

Show HN: ThisShirtExists creates shirt designs from your Stable Diffusion prompt(thisshirtexists.com ↗)

4 points · by mpaepper · 4y ago · 3 comments

comment 4y ago · link · parent

I wrote some of that as a blog entry: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

How do you scale the models on the GPUs? Do you rent cloud GPUs?

139.

Geohotz got StableDiffusion working in tinygrad ((old.reddit.com ↗)

24 points · by mpaepper · 4y ago · 3 comments

140.

How Stable Diffusion works for text to image generation(paepper.com ↗)

1 points · by mpaepper · 4y ago · discuss

comment 4y ago · link · parent

Here is a guide for AMD, but I don't have such a card, so haven't tried.

https://rentry.org/sdamd

comment 4y ago · link · parent

Looks crazy and comfy at the same time. Do you happen to know the price range?

comment 4y ago · link · parent

Most GPUs are non-deterministic - learned this the hard way in deep learning on pathology data. This is for optimization purposes. In fact, you can set a flag in Pytorch / Cuda to disable this which comes at the cost of performance.

comment 4y ago · link · parent

Check out this demo here where you can draw and then use your drawing and a prompt to generate new images:

https://huggingface.co/spaces/huggingface/diffuse-the-rest

To understand how stable diffusion works, see:

https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

Shameless plug if you want to understand how stable diffusion actually works:

https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

Check here for details about stable diffusion: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

This also very much depends on the inference use case / context. For example, I work in deep learning on digital pathology where images can be up to 100000x100000pixels in size and inference needs GPUs as it's just way too slow otherwise.

comment 4y ago · link · parent

If you want to read an enthusiastic, but less exaggerating piece which explains how the tech works: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

If you want to learn how and why stable diffusion works: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...

comment 4y ago · link · parent

To understand the more technical aspects of how it works: https://www.paepper.com/blog/posts/how-and-why-stable-diffus...
1234567