ArbitraryStyleTransferNetwork
wraps around Reiichiro Nakano's
TensorFlow.js port
of Ghiasi et al.'s arbitrary stylization model.
The demo below performs stylization on a content/style image pair by
predictStyleParameters
method with the style
image to obtain a style representation, and
stylize
method with the content image and the
style representation to perform stylization.
It then displays the result on a canvas via TensorFlow.js' toPixels
function.