Skip to content

IzhanVarsky/VectorNST

Repository files navigation

VectorNST

img1 img2 img3

The official implementation of VectorNST (vector neural style transfer) model in PyTorch.

Demo service.

Usage

Requirements

Install these requirements:

  • PyTorch and Torchvision
  • Pillow
  • NumPy
  • DiffVG and its requirements

Example steps of installing:

  • pip install torch torchvision pillow numpy
  • pip install cssutils scikit-learn scikit-image svgwrite svgpathtools matplotlib
  • git clone --recursive https://github.com/IzhanVarsky/diffvg
  • cd diffvg && python ./setup.py install && cd ..

Testing

Run our example python test_vector_nst.py --content_img ./images/owl.svg --style_img ./images/owl1.jpg.

You can also specify some other parameters: run python test_vector_nst.py --help to see more info.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages