Torchscript in opencv

asked 2020-10-26 05:55:14 -0600

Dear community,

I wonder if it's possible to do inference of torchscript model in OpenCV (c++)? For now, I'm using torchlib (c++) to do that, but I want to get rid of torchlib dlls if possible.

Thanks in advance,

Lucas

edit retag flag offensive close merge delete

Comments

is it possible to export the model to onnx ?

berak gravatar imageberak ( 2020-10-26 06:20:02 -0600 )edit

I'll try that this week. Thank you for the idea

lroyer-star gravatar imagelroyer-star ( 2020-11-16 03:24:04 -0600 )edit