MobileSAM icon indicating copy to clipboard operation
MobileSAM copied to clipboard

How do I convert to TorchScript?

Open k-fujino-kohei opened this issue 2 years ago • 1 comments

Thank you for the wonderful repository. I want to further utilize this model and would like to convert it to TorchScript. However, I encounter various obstacles when running torch.jit.script. Is there a good way to do this?

k-fujino-kohei avatar Sep 10 '23 04:09 k-fujino-kohei

Here is the solution for export to TorchScript: https://github.com/ChaoningZhang/MobileSAM/pull/112/files

cyrillkuettel avatar Nov 11 '23 16:11 cyrillkuettel