directML causes error in rapid orientation
rapid orientation does not work after install directML as below The issue can be resolve only after uninstall directML and reinstall onnxruntime
from .rapid_orientation import RapidOrientation
File "C:\Users\abc\AppData\Local\Programs\Python\Python310\lib\site-packages\rapid_orientation\rapid_orientation.py", line 25, in
The rapid orientation package has not supported the DirectML.
Understood, the rapid orientation and rapidocr directML now have a conflict. So if some one need to use 'rapid orientation', she cannot upgrade rapidocr directML.
Any chance to have two onnxruntime work at the same machine? so rapid orientation package can refer to onnxruntime, and rapidocr directML can import onnxruntime directML
The onnxruntime-directml and onnxruntime can't installed at the same time. Only one of them can be installed.
The solution I can think of is that rapid orientation also supports onnxruntime directml.
You can use both directml or neither at the same time.
The issue has beed closed, if you have other question, please to open it.