microsoft / onnxruntime-inference-examples

Examples for using ONNX Runtime for machine learning inferencing.
MIT License
1.14k stars 319 forks source link

fail to verify fns_candy_style_transfer for windows on arm64. #278

Open shijunz opened 1 year ago

shijunz commented 1 year ago

cmake error said : cannot find the copy_ort_dlls. so comments the latest line.

copy_ort_dlls(fns_candy_style_transfer)

fix the missing the wil,

so vcpkag install wil:arm64-windows.

and then get bellow error:

C:\repo\alpaca\onnx\onnxruntime-inference-examples\c_cxx\fns_candy_style_transfer\build3\Debug>fns_candy_style_transfer.exe candy.onnx 234-720.png out234.png dml Warning: Checker does not support models with experimental ops: ImageScaler Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Affine 2023-07-22 14:27:10.7997005 [W:onnxruntime:, inference_session.cc:487 onnxruntime::InferenceSession::RegisterExecutionProvider] Having memory pattern enabled is not supported while using the DML Execution Provider. So disabling it for this session since it uses the DML Execution Provider.

C:\repo\alpaca\onnx\onnxruntime-inference-examples\c_cxx\fns_candy_style_transfer\build3\Debug>fns_candy_style_transfer.exe candy.onnx 234-720.png out234.png Warning: Checker does not support models with experimental ops: ImageScaler Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Crop Warning: Checker does not support models with experimental ops: Affine

Lucashien commented 1 month ago

I have the same problem on x64 windows platform. Did the problem have a solution? Thanks!