onnxruntime/samples/c_cxx/fns_candy_style_transfer
Pranav Sharma 52fe574fed
Rename OrtAllocatorInfo to OrtMemoryInfo to make it more obvious. (#1758)
* Mention OrtCreateSessionFromArray in C API doc

* Rename OrtAllocatorInfo to OrtMemoryInfo to avoid confusion
2019-09-05 14:20:37 -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 Rename OrtAllocatorInfo to OrtMemoryInfo to make it more obvious. (#1758) 2019-09-05 14:20:37 -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>