Main ArbitraryStyleTransferNetwork class
Path to style model checkpoint directory.
Path to transformation model checkpoint directory.
Loads models from the checkpoints.
Returns true if model is initialized.
This function stylizes the content image given the style image. It returns an ImageData instance containing the stylized image.
TODO(vdumoulin): Add option to resize style and content images. TODO(adarob): Add option to use model with depthwise separable convs.
Content image to stylize
Style image to use
If provided, controls the stylization strength. Should be between 0.0 and 1.0.
Generated using TypeDoc