onnxruntime/samples/c_cxx/fns_candy_style_transfer
Pranav Sharma f8c3442880
Part 2 of renaming AllocatorInfo to MemoryInfo. (#1804)
* Mention OrtCreateSessionFromArray in C API doc

* Part 2 of renaming AllocatorInfo to MemoryInfo.

* pr comments

* fix comment
2019-09-12 08:19:29 -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 Part 2 of renaming AllocatorInfo to MemoryInfo. (#1804) 2019-09-12 08:19:29 -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>