Skip to content
cccskills
FreePublished on GitHub

fast-style-transfer

Guides TensorFlow Fast Style Transfer training, image stylization, and video stylization workflows from checkpoints, VGG/COCO assets, and script-oriented CLIs.

The English summary is being prepared. Showing the original description.

See how to install

Files included (31)

  • SKILL.md6.1 KB
  • references/repo-provenance.md2.2 KB
  • references/repo-routing-metadata.json431 B
  • references/setup-and-assets.md4.5 KB
  • references/troubleshooting.md3.7 KB
  • scripts/fast_style_transfer_runtime/evaluate.py8.6 KB
  • scripts/fast_style_transfer_runtime/optimize.py6.0 KB
  • scripts/fast_style_transfer_runtime/style.py6.3 KB
  • scripts/fast_style_transfer_runtime/transform_video.py2.2 KB
  • scripts/fast_style_transfer_runtime/transform.py2.8 KB
  • scripts/fast_style_transfer_runtime/utils.py1.2 KB
  • scripts/fast_style_transfer_runtime/vgg.py2.2 KB
  • scripts/inspect_fast_style_transfer.py5.3 KB
  • sub-skills/image-stylization/references/api-and-cli-reference.md2.7 KB
  • sub-skills/image-stylization/references/image-stylization-workflow.md3.6 KB
  • sub-skills/image-stylization/references/troubleshooting.md2.6 KB
  • sub-skills/image-stylization/scripts/run_image_stylization.py977 B
  • sub-skills/image-stylization/scripts/validate_image_stylization_inputs.py4.9 KB
  • sub-skills/image-stylization/SKILL.md4.1 KB
  • sub-skills/training/references/cli-reference.md2.9 KB
  • sub-skills/training/references/training-workflow.md4.1 KB
  • sub-skills/training/references/troubleshooting.md3.1 KB
  • sub-skills/training/scripts/run_training.py962 B
  • sub-skills/training/scripts/validate_training_inputs.py5.8 KB
  • sub-skills/training/SKILL.md4.3 KB
  • sub-skills/video-stylization/references/cli-reference.md2.4 KB
  • sub-skills/video-stylization/references/troubleshooting.md2.7 KB
  • sub-skills/video-stylization/references/video-stylization-workflow.md3.2 KB
  • sub-skills/video-stylization/scripts/run_video_stylization.py991 B
  • sub-skills/video-stylization/scripts/validate_video_stylization_inputs.py5.6 KB
  • sub-skills/video-stylization/SKILL.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Fast Style Transfer Repo Skill

Use this skill when a task involves Logan Engstrom's TensorFlow Fast Style Transfer repository, real-time neural style transfer, the bundled training runtime, the bundled image stylization runtime, the bundled video stylization runtime, transform-network checkpoints, VGG19 .mat assets, or COCO-style training image directories.

This repo is script-oriented rather than an installable Python package. This skill is self-contained: the workflow details, adapted runtime wrappers, CLI flags, validation helpers, troubleshooting, and provenance needed for normal use are bundled here.

Read first

Route by task

User taskRead
Train a style transform network, choose loss weights, validate style/train/VGG inputs, or plan a long GPU runsub-skills/training/SKILL.md
Stylize one image or a directory of images from a trained checkpoint, debug dimensions, output paths, devices, or checkpoint restoresub-skills/image-stylization/SKILL.md
Stylize a video from a trained checkpoint, check moviepy/ffmpeg, plan batch/device settings, or debug video outputsub-skills/video-stylization/SKILL.md

Public prerequisites

The historical repository documentation names TensorFlow-era dependencies. For modern inspection and command planning, verify a Python environment with:

python - <<'PY'
import tensorflow as tf, numpy, scipy, imageio, PIL, moviepy
print('tensorflow', tf.__version__)
print('gpu devices', tf.config.list_physical_devices('GPU'))
PY

For practical full training or large video/image batches, use a compatible GPU TensorFlow stack. CPU can validate parsers and run small image inference, but full training on CPU is normally impractical.

Core runtime surfaces:

  • Training script: python sub-skills/training/scripts/run_training.py --checkpoint-dir ... --style ... --train-path ... --vgg-path ...
  • Image stylization script: python sub-skills/image-stylization/scripts/run_image_stylization.py --checkpoint ... --in-path ... --out-path ...
  • Video stylization script: python sub-skills/video-stylization/scripts/run_video_stylization.py --checkpoint ... --in-path ... --out-path ...
  • Bundled runtime modules used by those scripts: scripts/fast_style_transfer_runtime/transform.py, scripts/fast_style_transfer_runtime/optimize.py, scripts/fast_style_transfer_runtime/vgg.py, and scripts/fast_style_transfer_runtime/utils.py.

The generated validation helpers in this skill check paths, numeric options, media shapes, optional dependencies, and command readiness without running expensive neural style transfer.

Asset model

This skill does not bundle model weights, VGG networks, COCO data, checkpoints, or example media. Treat these as user-supplied runtime assets:

  • VGG19 .mat for training losses.
  • A directory of training content images such as COCO train2014 or an equivalent image corpus.
  • A style image used to train a new transform network.
  • A trained Fast Style Transfer checkpoint for image or video stylization.
  • ffmpeg/moviepy support for video workflows.

Minimum safe checks

Before a costly run, prefer these safe checks:

python scripts/inspect_fast_style_transfer.py --json
python sub-skills/training/scripts/validate_training_inputs.py --help
python sub-skills/image-stylization/scripts/validate_image_stylization_inputs.py --help
python sub-skills/video-stylization/scripts/validate_video_stylization_inputs.py --help

When a local checkout is available and you want source-surface inspection, pass its directory to the root inspector:

python scripts/inspect_fast_style_transfer.py --repo-root /path/to/fast-style-transfer --json

Do not use these checks as proof that pretrained checkpoints, VGG assets, COCO data, GPU speed, or full video encoding work; those require separate runtime assets and backend verification.

Common decisions

  • Need a checkpoint? Use the training sub-skill if creating one; use image/video sub-skills if consuming one.
  • Need the fastest path to stylize a still image? Use image-stylization; pass /cpu:0 only for small or debugging runs, and a GPU device for throughput when TensorFlow GPU is configured.
  • Need to process mixed-size image directories? Use image-stylization and either normalize image dimensions first or enable the script's different-dimensions grouping path.
  • Need video output? Use video-stylization; verify checkpoint, moviepy, ffmpeg, and device/batch choices before processing frames.
  • Need downloads? Read setup/assets guidance; do not run network or large-data downloads implicitly.

Do not use this skill when

  • The task is about a different style-transfer implementation, PyTorch neural style transfer, diffusion image generation, or a generic TensorFlow tutorial unrelated to this repository.
  • The user needs legal/commercial licensing advice beyond the repository's public research-use notice and citation metadata.
  • The task asks to modify the repository source code rather than use its public workflows; use a repository-maintenance workflow instead.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill340Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill