onnxruntime/samples/c_cxx/fns_candy_style_transfer
2019-07-24 08:38:04 -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 Add docs for the fns candy demo (#1479) 2019-07-24 08:38:04 -07:00
README.md Add docs for the fns candy demo (#1479) 2019-07-24 08:38:04 -07:00

Build

See ../README.md

Prepare data

Please download the model from (candy.onnx)[https://raw.githubusercontent.com/microsoft/Windows-Machine-Learning/master/Samples/FNSCandyStyleTransfer/UWP/cs/Assets/candy.onnx]

Then prepare an image:

  1. In png format
  2. With dimension of 720x720

Run

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