LEE
LEE
Loading model... Traceback (most recent call last): File "/Users/le/Downloads/MobileSAM-cmarschner-convert/./scripts/convert_pytorch_mobile.py", line 40, in embedding_model_ts = torch.jit.script( ^^^^^^^^^^^^^^^^^ ....... File "/usr/local/lib/python3.11/site-packages/torch/jit/frontend.py", line 359, in build_param_list raise NotSupportedError(ctx_range, _vararg_kwarg_err) torch.jit.frontend.NotSupportedError: Compiled functions can't...
> This is a limitation of [TorchScript supported operators](https://pytorch.org/docs/stable/jit_builtin_functions.html#python-built-in-functions) which are very limited actually. In fact, TorchScript has a lot of limitations, [variable number of arguments](https://github.com/pytorch/pytorch/issues/29637#issue-521347319) is only one of...
> Great! Did you manage to run it on Android / iOS @CoderXXLee ? Yes, I'm currently running it on Android
@cyrillkuettel You can download it here 链接: https://pan.baidu.com/s/1B_j7hBGjC5mNvYR5Q6p0Gw?pwd=1pxp 提取码: 1pxp
Can you share the .ptl file for Pytorch lite interpreter?
> 请看下tokenizer.txt文件路径是否正确 > 请看下tokenizer.txt文件路径是否正确 问题已解决,谢谢