# zhanghang1989/PyTorch-Multi-Style-Transfer

Neural Style and MSG-Net

Repository: https://github.com/zhanghang1989/PyTorch-Multi-Style-Transfer
Canonical: https://ross.abutalabs.com/products/pytorch-multi-style-transfer
Homepage: http://hangzh.com/PyTorch-Style-Transfer/
Language: Jupyter Notebook
License: MIT
License Family: permissive
Topics: style-transfer, deep-neural-networks, real-time
Last push: 2022-05-12T01:33:55+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3418, "days_push": 1575, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1009, forks 199 (observed 2026-08-28T04:03:12.786569+00:00)

## What it is
A PyTorch implementation of MSG-Net and Gatys et al. neural style transfer for applying artistic styles to images in real time. It includes pre-trained models, training scripts, and a live camera demo.

## Use cases
- stylize photos with neural style transfer in pytorch
- apply multiple art styles to an image in real time
- train my own style transfer model
- run a webcam demo of neural style transfer
- reproduce MSG-Net research results
- stylize an image without a GPU

## When to choose
- you want a working PyTorch implementation of MSG-Net or Gatys-style optimization
- you need pre-trained multi-style transfer models for experimentation
- you want a real-time camera style transfer demo

## When to avoid
- you need actively maintained code compatible with the latest PyTorch versions
- you need production-grade image processing pipelines
- you want general-purpose image editing beyond style transfer

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, deep-learning, machine-learning
- domain: computer-vision, image-processing, deep-learning
- platform: python, cross-platform
- tags: neural-style-transfer, msg-net, pytorch, real-time-style-transfer, research-code, pretrained-models, gpu

## Member repositories
- zhanghang1989/PyTorch-Multi-Style-Transfer (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.786569+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:05.618822+00:00, confidence not recorded.
  - readme: https://github.com/zhanghang1989/PyTorch-Multi-Style-Transfer (fetched 2026-08-28T04:03:12.786569+00:00, sha 8777b7115f03)
  - homepage: http://hangzh.com/PyTorch-Style-Transfer/ (fetched 2026-08-29T13:12:27.825938+00:00, sha 9fa226ccdbeb)
  - site_page: https://www.hugedomains.com/about.cfm (fetched 2026-08-29T13:12:27.837748+00:00, sha 1a435281be75)
  - site_page: https://www.hugedomains.com/faq.cfm (fetched 2026-08-29T13:12:27.835319+00:00, sha 9e14f35fe98f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
