59 karma · joined Mar 10, 2016 (10y ago) · 23 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
If you scroll down on GitHub to see the faces examples, those are achieved by a domain-specific network. I suspect you'll similarly get extremely high-quality if you have good input images.
comment 10y ago · link · parent
Most other approaches don't even try to inject high-frequency detail into the high-resolution images because the PSNR/SSIM benchmarks drop. Until those metrics/benchmarks are dropped, there'll be little more progress in super-resolution.
comment 10y ago · link · parent
I'm working on the Docker instance now, that should help anyone with interest/experience in the field compare results easily.
comment 10y ago · link · parent
I'd be curious to see an ensemble-based super-resolution, where each model can output the confidence of a pixel region, then have another network learn to blend the result.
Conversely, these results are achieved using a single top-of-range GPU. Everything fits in memory for a batch-size 15 at 192x192. By distributing the training somehow, you could make the network 10x bigger and train for a whole week and likely get much better general purpose results.
comment 10y ago · link · parent
On GitHub, below each GIF there's a demo comparison, but on the site you can also submit your own to try it out (click on title or restart button). Takes about 60s currently; running on CPU as GPUs are busy training ;-)
comment 10y ago · link · parent
AMD is going to support CUDA somehow too, I think that's a sign they admitted defeat on OpenCL for this.
comment 10y ago · link · parent
comment 10y ago · link · parent
First, the paper I call "Neural Patches" (Li, January 2016) makes it possible to apply context-sensitive style, so you have more control how things map from one image to another. Second, we added extra annotations (which you can specify by hand or from a segmentation algorithm) that helps you control exactly how you want the styles to map. We call that "semantic style transfer" (Champandard, March 2016).
You're right about it being hard otherwise, it was for many months and that's what pushed this particular line of research! Try it and see ;-)
comment 10y ago · link · parent
comment 10y ago · link · parent
The output gets better because through iteration the glitches are removed incrementally, and it converges on a final painting that looks good!
comment 10y ago · link · parent
We'll try to integrate the idea of semantic style transfer into @DeepForger in the future, but this require quite a bit of work to get it to reliably understand portraits or landscapes without anyone's intervention. The fact it does require these semantic maps for all images makes it less straightforward to release as a service.
comment 10y ago · link · parent
Actually, the code does none of that ;-) All of the semantics are provided by the users: either as manual annotations or by plugging in an existing architecture for semantic segmentation / pixel labeling. It's designed to be independent of the source of the semantic maps, so we can continue to work on both problems separately.
It works for basic color segmentation already, and here are some of the papers we're integrating currently: http://gitxiv.com/search/?q=segmentation
comment 10y ago · link · parent
The algorithm can only reuse combinations of patterns that it knows about, it can do extrapolation but it often ends up being just like a blend. However, you can give it multiple images and it'd borrow the best features from either—for example drawing from all of Monet's work. (Needs more optimization for this to work though, takes a lot of time and memory.)
As for the images, as long as the type of scene is roughly the same it'll work fine. The fact it can copy things "semantically" by understanding the content of the image makes it work much more reliably—at the cost of extra annotations from somewhere. With the original Deep Style Network it's very fragile to input conditions, and composition needs to match very well for it to work (or you pick an abstract style). That was part of the motivation for researching this over the past months.
comment 10y ago · link · parent
These examples are in the paper above, direct link for convenience:
comment 10y ago · link · parent
There's no additional training apart from that. The neural network is used to extract patterns (grain/texture/style) and a separate optimization tries to reproduce them as appropriate.
comment 10y ago · link · parent
For details, the research paper is linked on the GitHub page: http://arxiv.org/abs/1603.01768
For a video and higher-level overview see my article from yesterday: http://nucl.ai/blog/neural-doodles/
Questions welcome!