DirectML returning empty result with ObjectDetection (Mobilinet V2 FPN Keras) #20386
Labels
ep:DML
issues related to the DirectML execution provider
platform:windows
issues related to the Windows platform
Describe the issue
Result is empty when using DirectML but works as expected when using only CPU.
Tested for ObjectDection with ssd_mobilenet_v2_fpn_keras model.
I first reported it in tensorflow-onnx but it seems like a runtime issue.
There is another issue that looks like similar to this one but I don't know for sure so I did open as a new issue.
To reproduce
Use this C# .NET 8.0 Windows Forms App, select a file image and wait for the result, the CPU result is printed in blue and DirectML result in red.
The project contains the onnx model and image examples can be found here. Tested opset 18 to 13, no change.
I did notice that the detection_boxes are in fact OK but the num_detections and detection_scores are not -- raw_detection_scores is surprising OK.
Training configuration, data set, command lines and tensorflow exported graph can be found here
Urgency
Low since the CPU result is fine.
Platform
Windows
OS Version
11 23H2 22631.3447
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.17.3
ONNX Runtime API
C#
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: