microsoft / microsoft/onnxruntime-inference-examples

fail to verify fns_candy_style_transfer for windows on arm64.

Open
#278 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.7k
Forks
414
Avg merge
1d 6h
Merged PRs (30d)
14

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows ARM64 build in c_cxx/fns_candy_style_transfer and inspect the CMake configuration around copy_ort_dlls and the WIL dependency. Run the two shown fns_candy_style_transfer commands and compare the DirectML and default-provider results. Done means the example builds and verifies successfully on Windows ARM64 without requiring an unexplained commented-out CMake line.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.