Closed Zeiny96 closed 1 year ago
Can we load TorchScript model from python instead of loading it inside the c++ code, I specifically talk about something like OfflineRecognizer which requires passing model path, but can we give it loaded model instead?
Yes, it's doable but we haven't exposed the interface to python.
Okay, thanks for your concern.
Can we load TorchScript model from python instead of loading it inside the c++ code, I specifically talk about something like OfflineRecognizer which requires passing model path, but can we give it loaded model instead?