FNS Candy is a style transfer model. In this sample application, we use the ONNX Runtime C API to process an image using the FNS Candy model in ONNX format.
See ../README.md
First, download the FNS Candy ONNX model from here.
Then, prepare an image:
- PNG format
- Dimension of 720x720
Command to run the application:
fns_candy_style_transfer.exe <model_path> <input_image_path> <output_image_path> [cpu|cuda|dml]
To use the CUDA or DirectML execution providers, specify cuda
or dml
on the command line. cpu
is the default.