MobileSAM
MobileSAM copied to clipboard
How do I convert to TorchScript?
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?
Here is the solution for export to TorchScript: https://github.com/ChaoningZhang/MobileSAM/pull/112/files