Open JuZi233 opened 1 month ago
pip install onnxruntime-directml
then
self.session = ort.InferenceSession(model_byte.SerializeToString(), providers=["DmlExecutionProvider"],sess_options = options)
this could be faster fo : self.session.run..
and ,why postprocess cost so many time .
i rewrite the preprocess , but postprocess
pip install onnxruntime-directml
then
self.session = ort.InferenceSession(model_byte.SerializeToString(), providers=["DmlExecutionProvider"],sess_options = options)
this could be faster fo : self.session.run..
and ,why postprocess cost so many time .