Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sort of related, but I'm looking for a library or tool of some sort that I can use to generate landscape photos. I don't really have a lot of time to put into a project right now, so I was fantasizing about stumbling across some python library that's a wrapper for one of these models that's basically as simple as

import all_photos from "./photos"; model = train(all_photos) a = model.generate();

Anybody have any leads..?




Training is super expensive, so it won't be much help.


Even training on a few hundred photos?


StyleGAN was trained on something like 3 million images, and it's very difficult to fine tune GANs on a small subset of images past that, unless perhaps your images are very similar to the ones StyleGAN used. It's likely you'd need at least thousands or hundreds of thousands of images to get the results you probably want. I've been successful with thousands, but not less than that.


I found stylegan to be pretty plug and play for training on 10000 panels from a webcomic, here are some sample results. This was a while ago, I’m sure stylegan2 would perform even better http://hgreer.com/homestuck-gan/fakes007470.png


Use Terragen




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: