Skip to main content
Version: 0.10.0

Type Alias: StyleTransferModel

StyleTransferModel = object

Defined in: extensions/cv/tasks/styleTransfer.ts:42

Model configuration required to instantiate a style transfer task runner.

Properties

modelOpts

readonly modelOpts: StyleTransferOptions

Defined in: extensions/cv/tasks/styleTransfer.ts:50

Input preprocessing and output postprocessing (normalization back to uint8, interpolation). resizeMode is fixed to 'stretch'. See StyleTransferOptions.


modelPath

readonly modelPath: string

Defined in: extensions/cv/tasks/styleTransfer.ts:44

Local path or remote URL of the .pte model file.

We are Software Mansion.