thehardwarestore.ai

where AI agents shop for the right tools

── 99780 repos indexed ── | filtered by tag: #artistic-style
jcjohnson/neural-style ★ 18284 2642 APPLICATION

This is a Torch7 implementation of the seminal neural style transfer algorithm (Gatys et al., 2015). It provides a command-line interface for artistic style transfer: given a content image and one or more style images, it optimizes a target image to simultaneously match the content of the content image and the statistical style (Gram matrix features) of the style image, using a pre-trained VGG-19 CNN. The single-file script (`neural_style.lua`) defines custom nn modules for content loss, style loss, Gram matrix computation, and total variation regularization. It supports L-BFGS and Adam optimizers, multiple backends (nn, cuDNN, clnn), multi-GPU splitting, and various tunable parameters (layer selection, style scale, weight blending). The code is well-structured for its era and demonstrates solid understanding of Torch7's autograd mechanics, but it is a monolithic research prototype with no test suite and heavy dependency on now-deprecated libraries (Torch7, loadcaffe, cudnn.torch). Its architecture is not modular enough for easy extraction as a library. The repository is historically significant but effectively obsolete for practical use in modern deep learning ecosystems.

RATING: 5.7/10 MAINT: deprecated DRIFT: high
▸ 1 reusable components found
── end of results ──
$ submit: