-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outputs of masks are diffrent between onnxruntime and onnxruntime-directml, from onnxruntime-directml==1.15, when using detectron2 Mask r-cnn Model. #614
Comments
|
below is full TraceWarning: /home2/ros/venv/detectron2/lib/python3.8/site-packages/detectron2/structures/image_list.py:85: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs! |
I found from onnxruntime-directml==1.15, mask outputs are diffrent and incorrect between directml and onnxruntime.
I used detectron2 Mask r-cnn.
In python onnxruntime-directml==1.14.1 is ok, and in c++ only onnxruntime-directml==1.12.0 is ok for ops version==17.
How can I solve this problem?
Did any other meet this issue?
Any suggestions are much appreciated.
The text was updated successfully, but these errors were encountered: