请查看这个出色的新MLX示例:Meta AI的全能分割模型(SAM),在你的Mac上运行非常快。代码:https://github.com/ml-explore/mlx-examples/tree/main/segment_anything配套笔记本:https://github.com/ml-explore/mlx-examples/tree/main/segment_anything/notebooks感谢Shiyu的实现 https://github.com/gathierry