Open leepenkman opened 10 months ago
Can you get any more info via dxcpl.exe and enabling the D3D/DML debug layer to view messages (either in Visual Studio's output window or SysInternals DebugView)? See my comment here: https://github.com/microsoft/onnxruntime/issues/13330#issuecomment-1284817983
@leepenkman did you resolve this issue?
I resolved this issue on Windows 10/11 when I added a specific RuntimeIdentifier (RID) to the project that contains Microsoft.ML.OnnxRuntime.DirectML -v 1.16.3 package:
<PropertyGroup>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
</PropertyGroup>
It seems like it requires some platform-specific packages and provided RID used by NuGet to restore packages containing platform-specific parts
Also, it can be resolved by changing the architecture from 'Any CPU' to 'x-64' in sln configuration
Describe the issue
DirectML Resize Node error.
To reproduce
Running the onnx model for MODNet in windows C# DirectML, getting this error about one of the operators , works fine on CPU.
Urgency
Working on background removal - Important AI related product work at Microsoft Clipchamp.
Platform
Windows
OS Version
Windows 11
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.16.3 from NuGet
ONNX Runtime API
C#
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
1.16.3 from NuGet