4 ms·
I've seen a bunch of people share their AI art generators, so I figured I'd get in on the action and share mine. This is based on the notebooks written by AI ar
by hwayne 5y ago
I've seen a bunch of people share their AI art generators, so I figured I'd get in on the action and share mine. This is based on the notebooks written by AI artists like advadnoun and Katherine Crowson. The difference between those and this is:
- Friendlier UI/UX: I used colab forms and IPython widgets to make it easy to use if you don't know how to program. For example, instead of having people fiddle with sampling vs pooling methods, you can just select "default" or "cumin" flavors.
- Simplified inputs: I stripped out a lot of the power from "artist-oriented" notebooks to make it less scary to first timers. You can still edit the code directly to get the same power, but all that's hidden away.
- "Download all images" and "create a video" buttons for funsies.
People have also been posting commercial AI offerings, like https://news.ycombinator.com/item?id=28070149 https://news.ycombinator.com/item?id=28070149. The differences with this are:
- Totally free. This is running off Google's free Colab offering. You just need a Google account.
- No wait times. Colab gives a separate GPU to each user, so there's no queueing or anything.
- A bit more power: if Colab assigns you a large instance (most people are getting large instances, unless you use it for a very long time), you can make images up to 700x700.
- Codes all available if you want to clone it, make your own version, or download it to run locally.
I shared this on Twitter last week and lots of nonprogrammers are able to use it, which tells me that it works pretty well at its intended goals. So far this is my favorite thing anybody's made with it (video, sound): https://twitter.com/PuPunPa/status/1423428815846481924 https://twitter.com/PuPunPa/status/1423428815846481924
Also happy to answer any questions people have about AI art in general. I only fell down the rabbit hole last month, and it's a deep rabbit hole, so I can't promise much, but I really like talking about this stuff and sharing what I've learned. Enjoy!
- minimaxir 5y ago> A bit more power: if Colab assigns you a large instance (most people are getting large instances, unless you use it for a very long time), you can make images up to 700x700. Technically you just need a GPU with 16GB VRAM to create larger images, which is every GPU Colab can give except the K80 (which has 12GB VRAM, but still can do 600x600) Your Notebook code appears to do to a VRAM check via nvidia-smi, not an instance size check.
- Mizza 5y agoDoes anybody know of the best practice for creating large images (ex 3840x2160) on a single GPU (ex a 2080/3080)? I played with stitching some years ago when all of this stuff was still in its infancy, but wasn't super thrilled with the results as I ended up with seams, now I'm wondering if a common practice has emerged as the techniques have evolved.
- minimaxir 5y agoCreate an image normally and do 2x/4x image super-resolution. Hey, if you're already working with AI-generated art, using another AI isn't unreasonable.
- hwayne 5y agoWhat you could try doing is use a notebook that lets you start with an initial image [1], chunk that image, and generate a an image for each chunk. It wouldn't be unified, but it could come out interesting. To make bigger images, I'm currently making composites out of multiple smaller prompts, like gradients or chessboards.
- hwayne 5y agoHot dang I forgot to actually add in the link and now it's too late to edit so here it is [1] https://colab.research.google.com/drive/1wkF67ThUz37T2_oPIuSwuO4e_-0vjaLs https://colab.research.google.com/drive/1wkF67ThUz37T2_oPIuS...