onnxruntime/samples/c_cxx/fns_candy_style_transfer
Ryan Hill 5781222456
Ryanunderhill/api interface (#1855)
* Convert ABI to a versioned interface.
* Convert ORT_THROW_ON_ERROR to inline function to fix link errors.
2019-09-20 13:39:11 -07:00
..
CMakeLists.txt Add docs for the fns candy demo (#1479) 2019-07-24 08:38:04 -07:00
fns_candy_style_transfer.c Ryanunderhill/api interface (#1855) 2019-09-20 13:39:11 -07:00
README.md Doc updates (#1522) 2019-08-27 21:31:19 -07:00

FNS Candy

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.

Build Instructions

See ../README.md

Prepare data

First, download the FNS Candy ONNX model from here.

Then, prepare an image:

  1. PNG format
  2. Dimension of 720x720

Run

Command to run the application:

fns_candy_style_transfer.exe <model_path> <input_image_path> <output_image_path>