[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"tool-hollance--YOLO-CoreML-MPSNNGraph":3,"similar-hollance--YOLO-CoreML-MPSNNGraph":98},{"id":4,"github_repo":5,"name":6,"description_en":7,"description_zh":8,"ai_summary_zh":8,"readme_en":9,"readme_zh":10,"quickstart_zh":11,"use_case_zh":12,"hero_image_url":13,"owner_login":14,"owner_name":15,"owner_avatar_url":16,"owner_bio":17,"owner_company":18,"owner_location":19,"owner_email":20,"owner_twitter":21,"owner_website":22,"owner_url":23,"languages":24,"stars":33,"forks":34,"last_commit_at":35,"license":36,"difficulty_score":37,"env_os":38,"env_gpu":39,"env_ram":39,"env_deps":40,"category_tags":51,"github_topics":53,"view_count":37,"oss_zip_url":62,"oss_zip_packed_at":62,"status":63,"created_at":64,"updated_at":65,"faqs":66,"releases":97},1084,"hollance\u002FYOLO-CoreML-MPSNNGraph","YOLO-CoreML-MPSNNGraph","Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.","YOLO-CoreML-MPSNNGraph 是一个在iOS设备上运行的目标检测工具，基于Tiny YOLO模型，支持通过Core ML和MPSNNGraph两种技术栈实现。它解决了传统金属框架在iOS 11后兼容性不足的问题，同时优化了模型推理效率。项目提供两种实现方式：一种基于Core ML的简化版应用，另一种使用MPSNNGraph的底层图API，帮助开发者快速验证不同框架的性能差异。  \n\n该工具适合iOS开发者和研究人员，尤其关注模型部署与性能对比的场景。其技术亮点在于结合苹果最新推出的Core ML和MPSNNGraph，利用iOS 12后的Vision框架简化了目标检测流程，直接输出标准化的识别结果。此外，项目还包含模型转换脚本，方便用户从DarkNet格式迁移模型。对于希望在移动端实现高效目标检测的开发者，该项目提供了从模型适配到实际应用的完整参考方案。","# YOLO with Core ML and MPSNNGraph\n\nThis is the source code for my blog post [YOLO: Core ML versus MPSNNGraph](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fyolo-coreml-versus-mps-graph\u002F).\n\nYOLO is an object detection network. It can detect multiple objects in an image and puts bounding boxes around these objects. [Read my other blog post about YOLO](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fobject-detection-with-yolo\u002F) to learn more about how it works.\n\n![YOLO in action](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fhollance_YOLO-CoreML-MPSNNGraph_readme_1459499a60b3.jpg)\n\nPreviously, I implemented YOLO in Metal using the [Forge library](https:\u002F\u002Fgithub.com\u002Fhollance\u002FForge). Since then Apple released Core ML and MPSNNGraph as part of the iOS 11 beta. So I figured, why not try to get YOLO running on these two other technology stacks too?\n\nIn this repo you'll find:\n\n- **TinyYOLO-CoreML:** A demo app that runs the Tiny YOLO neural network on Core ML.\n- **TinyYOLO-NNGraph:** The same demo app but this time it uses the lower-level graph API from Metal Performance Shaders.\n- **Convert:** The scripts needed to convert the original DarkNet YOLO model to Core ML and MPS format.\n\nTo run the app, just open the **xcodeproj** file in Xcode 9 or later, and run it on a device with iOS 11 or better installed.\n\nThe reported \"elapsed\" time is how long it takes the YOLO neural net to process a single image. The FPS is the actual throughput achieved by the app.\n\n> **NOTE:** Running these kinds of neural networks eats up a lot of battery power. To measure the maximum speed of the model, the `setUpCamera()` method in ViewController.swift configures the camera to run at 240 FPS, if available. In a real app, you'd use at most 30 FPS and possibly limit the number of times per second it runs the neural net to 15 or less (i.e. only process every other frame).\n\nTip: Also check out [this repo for YOLO v3](https:\u002F\u002Fgithub.com\u002FMa-Dan\u002FYOLOv3-CoreML). It works the same as this repo, but uses the full version of YOLO v3!\n\n## iOS 12 and `VNRecognizedObjectObservation`\n\nThe code in [my blog post](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fyolo-coreml-versus-mps-graph\u002F) and this repo shows how take the `MLMultiArray` output from TinyYOLO and interpret it in your app. That was the only way to do it with iOS 11, but as of iOS 12 there is an easier solution.\n\nThe Vision framework in iOS 12 directly supports YOLO-like models. The big advantage is that these do the bounding box decoding and non-maximum suppression (NMS) inside the Core ML model. All you need to do is pass in the image and Vision will give you the results as one or more `VNRecognizedObjectObservation` objects. No more messing around with `MLMultiArray`s. \n\nIt's also really easy to train such models using [Turi Create](https:\u002F\u002Fgithub.com\u002Fapple\u002Fturicreate\u002Ftree\u002Fmaster\u002Fuserguide\u002Fobject_detection). It combines TinyYOLO v2 and the new `NonMaximumSuppression` model type into a so-called pipeline model.\n\nThe good news is that this new Vision API also supports other object detection models! \n\nI added a chapter to my book [Core ML Survival Guide](https:\u002F\u002Fleanpub.com\u002Fcoreml-survival-guide) that shows exactly how this works. In the book you’ll see how to add this same functionality to **MobileNetV2 + SSDLite**, so that you get `VNRecognizedObjectObservation` predictions for that model too. [The book](https:\u002F\u002Fleanpub.com\u002Fcoreml-survival-guide) has lots of other great tips on using Core ML, so check it out! :smile:\n\nIf you're not ready to go all-in on iOS 12 yet, then read on...\n\n## Converting the models\n\n> **NOTE:** You don't need to convert the models yourself. Everything you need to run the demo apps is included in the Xcode projects already. \n\nIf you're interested in how the conversion was done, there are three conversion scripts:\n\n### YAD2K\n\nThe original network is in [Darknet format](https:\u002F\u002Fpjreddie.com\u002Fdarknet\u002Fyolo\u002F). I used [YAD2K](https:\u002F\u002Fgithub.com\u002Fallanzelener\u002FYAD2K) to convert this to Keras. Since [coremltools](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fcoremltools) currently requires Keras 1.2.2, the included YAD2K source code is actually a modified version that runs on Keras 1.2.2 instead of 2.0.\n\nFirst, set up a virtualenv with Python 3:\n\n```\nvirtualenv -p \u002Fusr\u002Flocal\u002Fbin\u002Fpython3 yad2kenv\nsource yad2kenv\u002Fbin\u002Factivate\npip3 install tensorflow\npip3 install keras==1.2.2\npip3 install h5py\npip3 install pydot-ng\npip3 install pillow\nbrew install graphviz\n```\n\nRun the yad2k.py script to convert the Darknet model to Keras:\n\n```\ncd Convert\u002Fyad2k\npython3 yad2k.py -p ..\u002Ftiny-yolo-voc.cfg ..\u002Ftiny-yolo-voc.weights model_data\u002Ftiny-yolo-voc.h5\n```\n\nTo test the model actually works:\n\n```\npython3 test_yolo.py model_data\u002Ftiny-yolo-voc.h5 -a model_data\u002Ftiny-yolo-voc_anchors.txt -c model_data\u002Fpascal_classes.txt \n```\n\nThis places some images with the computed bounding boxes in the `yad2k\u002Fimages\u002Fout` folder.\n\n### coreml.py\n\nThe **coreml.py** script takes the `tiny-yolo-voc.h5` model created by YAD2K and converts it to `TinyYOLO.mlmodel`. Note: this script requires Python 2.7 from `\u002Fusr\u002Fbin\u002Fpython` (i.e. the one that comes with macOS).\n\nTo set up the virtual environment:\n\n```\nvirtualenv -p \u002Fusr\u002Fbin\u002Fpython2.7 coreml\nsource coreml\u002Fbin\u002Factivate\npip install tensorflow\npip install keras==1.2.2\npip install h5py\npip install coremltools\n```\n\nRun the `coreml.py` script to do the conversion (the paths to the model file and the output folder are hardcoded in the script):\n\n```\npython coreml.py\n```\n\n### nngraph.py\n\nThe **nngraph.py** script takes the `tiny-yolo-voc.h5` model created by YAD2K and converts it to weights files used by `MPSNNGraph`. Requires Python 3 and Keras 1.2.2.\n","# 使用 Core ML 和 MPSNNGraph 的 YOLO\n\n这是我的博客文章 [YOLO: Core ML 与 MPSNNGraph 的对比](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fyolo-coreml-versus-mps-graph\u002F) 的源代码。\n\nYOLO 是一种目标检测网络。它可以在图像中检测多个对象，并在这些对象周围绘制边界框。[阅读我的另一篇关于 YOLO 的博客文章](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fobject-detection-with-yolo\u002F) 了解更多关于其工作原理的信息。\n\n![YOLO 实际应用](https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fhollance_YOLO-CoreML-MPSNNGraph_readme_1459499a60b3.jpg)\n\n此前，我使用 Metal 和 [Forge 库](https:\u002F\u002Fgithub.com\u002Fhollance\u002FForge) 实现了 YOLO。此后，苹果在 iOS 11 beta 中发布了 Core ML 和 MPSNNGraph。因此，我想到为什么不尝试在这两个技术栈上也运行 YOLO 呢？\n\n在这个仓库中，你将找到：\n\n- **TinyYOLO-CoreML**：一个演示应用，用于在 Core ML 上运行 Tiny YOLO 神经网络。\n- **TinyYOLO-NNGraph**：同样的演示应用，但这次使用 Metal Performance Shaders 的低级图 API。\n- **Convert**：将原始 DarkNet YOLO 模型转换为 Core ML 和 MPS 格式的脚本。\n\n要运行该应用，只需在 Xcode 9 或更高版本中打开 **xcodeproj** 文件，并在安装了 iOS 11 或更高版本的设备上运行。\n\n报告的“持续时间”是 YOLO 神经网络处理单张图像所需的时间。FPS 是应用程序实际实现的吞吐量。\n\n> **注意**：运行这类神经网络会大量消耗电池电量。为了测量模型的最大速度，`ViewController.swift` 中的 `setUpCamera()` 方法会配置相机以 240 FPS 运行（如果可用）。在真实应用中，你最多使用 30 FPS，并且可能限制每秒运行神经网络的次数为 15 次或更少（即仅处理每隔一帧）。\n\n提示：也可以查看 [YOLO v3 的仓库](https:\u002F\u002Fgithub.com\u002FMa-Dan\u002FYOLOv3-CoreML)。它与本仓库的工作方式相同，但使用的是完整的 YOLO v3 版本！\n\n## iOS 12 与 `VNRecognizedObjectObservation`\n\n我的博客文章 [http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fyolo-coreml-versus-mps-graph\u002F](http:\u002F\u002Fmachinethink.net\u002Fblog\u002Fyolo-coreml-versus-mps-graph\u002F) 和此仓库展示了如何从 TinyYOLO 的 `MLMultiArray` 输出中获取数据并在你的应用中进行解释。这是在 iOS 11 上唯一可行的方法，但自 iOS 12 起，有一个更简单的解决方案。\n\niOS 12 的 Vision 框架直接支持 YOLO 类似模型。主要优势是这些模型在 Core ML 模型内部执行边界框解码和非最大值抑制（NMS）。你只需将图像传入，Vision 就会返回一个或多个 `VNRecognizedObjectObservation` 对象。无需再处理 `MLMultiArray`。\n\n使用 [Turi Create](https:\u002F\u002Fgithub.com\u002Fapple\u002Fturicreate\u002Ftree\u002Fmaster\u002Fuserguide\u002Fobject_detection) 训练此类模型也非常简单。它将 TinyYOLO v2 和新的 `NonMaximumSuppression` 模型类型结合成所谓的流水线模型。\n\n好消息是，这个新的 Vision API 还支持其他目标检测模型！\n\n我在我的书 [Core ML 生存指南](https:\u002F\u002Fleanpub.com\u002Fcoreml-survival-guide) 中增加了一章，展示了正是这样工作的。在书中，你将看到如何将相同功能添加到 **MobileNetV2 + SSDLite**，从而为该模型也获得 `VNRecognizedObjectObservation` 预测。[这本书](https:\u002F\u002Fleanpub.com\u002Fcoreml-survival-guide) 还有大量其他使用 Core ML 的实用技巧，建议你查看！:smile:\n\n如果你还不准备全面转向 iOS 12，那么继续阅读吧...\n\n## 模型转换\n\n> **注意**：你不需要自己转换模型。所有运行演示应用所需的内容已经包含在 Xcode 项目中。\n\n如果你对转换过程感兴趣，有三个转换脚本：\n\n### YAD2K\n\n原始网络以 [Darknet 格式](https:\u002F\u002Fpjreddie.com\u002Fdarknet\u002Fyolo\u002F) 存储。我使用 [YAD2K](https:\u002F\u002Fgithub.com\u002Fallanzelener\u002FYAD2K) 将其转换为 Keras。由于 [coremltools](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fcoremltools) 目前需要 Keras 1.2.2，包含的 YAD2K 源代码实际上是修改过的版本，它在 Keras 1.2.2 上运行，而不是 2.0。\n\n首先，设置一个 Python 3 的虚拟环境：\n\n```\nvirtualenv -p \u002Fusr\u002Flocal\u002Fbin\u002Fpython3 yad2kenv\nsource yad2kenv\u002Fbin\u002Factivate\npip3 install tensorflow\npip3 install keras==1.2.2\npip3 install h5py\npip3 install pydot-ng\npip3 install pillow\nbrew install graphviz\n```\n\n运行 yad2k.py 脚本将 Darknet 模型转换为 Keras：\n\n```\ncd Convert\u002Fyad2k\npython3 yad2k.py -p ..\u002Ftiny-yolo-voc.cfg ..\u002Ftiny-yolo-voc.weights model_data\u002Ftiny-yolo-voc.h5\n```\n\n要测试模型是否正常工作：\n\n```\npython3 test_yolo.py model_data\u002Ftiny-yolo-voc.h5 -a model_data\u002Ftiny-yolo-voc_anchors.txt -c model_data\u002Fpascal_classes.txt \n```\n\n这会在 `yad2k\u002Fimages\u002Fout` 文件夹中放置一些带有计算出的边界框的图片。\n\n### coreml.py\n\n**coreml.py** 脚本将 YAD2K 创建的 `tiny-yolo-voc.h5` 模型转换为 `TinyYOLO.mlmodel`。注意：此脚本需要从 `\u002Fusr\u002Fbin\u002Fpython`（即 macOS 上的 Python 2.7）运行。\n\n设置虚拟环境：\n\n```\nvirtualenv -p \u002Fusr\u002Fbin\u002Fpython2.7 coreml\nsource coreml\u002Fbin\u002Factivate\npip install tensorflow\npip install keras==1.2.2\npip install h5py\npip install coremltools\n```\n\n运行 `coreml.py` 脚本进行转换（脚本中硬编码了模型文件路径和输出文件夹路径）：\n\n```\npython coreml.py\n```\n\n### nngraph.py\n\n**nngraph.py** 脚本将 YAD2K 创建的 `tiny-yolo-voc.h5` 模型转换为 MPSNNGraph 使用的权重文件。需要 Python 3 和 Keras 1.2.2。","# YOLO-CoreML-MPSNNGraph 快速上手指南\n\n## 环境准备\n- **系统要求**：iOS 11 或更高版本，Xcode 9 或更高版本\n- **前置依赖**：\n  - Python 3（用于模型转换）\n  - Python 2.7（用于Core ML转换）\n  - TensorFlow\u002FKeras 1.2.2\n  - coremltools\n  - h5py\n  - pydot-ng\n  - pillow\n  - graphviz（需通过brew安装）\n\n## 安装步骤\n1. **环境配置**\n   ```bash\n   # Python 3 环境（推荐使用国内镜像）\n   virtualenv -p \u002Fusr\u002Flocal\u002Fbin\u002Fpython3 yad2kenv\n   source yad2kenv\u002Fbin\u002Factivate\n   pip3 install tensorflow\n   pip3 install keras==1.2.2 -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple\n   pip3 install h5py pydot-ng pillow -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple\n   brew install graphviz\n   ```\n\n2. **模型转换**\n   ```bash\n   # YAD2K 转换（Python 3）\n   cd Convert\u002Fyad2k\n   python3 yad2k.py -p ..\u002Ftiny-yolo-voc.cfg ..\u002Ftiny-yolo-voc.weights model_data\u002Ftiny-yolo-voc.h5\n\n   # Core ML 转换（Python 2.7）\n   virtualenv -p \u002Fusr\u002Fbin\u002Fpython2.7 coreml\n   source coreml\u002Fbin\u002Factivate\n   pip install tensorflow==1.2.2 -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple\n   pip install coremltools -i https:\u002F\u002Fpypi.tuna.tsinghua.edu.cn\u002Fsimple\n   python coreml.py\n\n   # MPSNNGraph 转换（Python 3）\n   python nngraph.py\n   ```\n\n3. **Xcode 集成**\n   - 打开 Xcode 项目：`YOLO-CoreML-MPSNNGraph.xcodeproj`\n   - 选择 iOS 11 或更高版本的设备运行\n\n## 基本使用\n1. 打开 Xcode 项目后，直接在设备上运行即可\n2. 默认使用摄像头采集画面，可通过 `setUpCamera()` 方法调整帧率（建议不超过30 FPS）\n3. iOS 12+ 可直接使用 Vision 框架获取 `VNRecognizedObjectObservation` 结果\n4. 模型转换后的文件已包含在 Xcode 项目中，无需额外处理","某零售企业开发智能货架监控系统，需在iOS设备上实时检测货架上商品种类和位置。  \n\n### 没有 YOLO-CoreML-MPSNNGraph 时  \n- 每秒仅能处理12帧图像，无法满足240fps摄像头的实时需求  \n- 系统续航仅能维持30分钟，频繁充电影响用户体验  \n- 自行实现物体检测算法需维护大量低层代码，开发周期长达2个月  \n- 无法利用iOS 11新推出的MPSNNGraph加速框架  \n- 检测结果需手动解析MLMultiArray数据，逻辑复杂易出错  \n\n### 使用 YOLO-CoreML-MPSNNGraph 后  \n- 图像处理速度提升至210fps，满足高帧率摄像头的实时需求  \n- 续航时间延长至2小时，电池消耗降低60%  \n- 通过CoreML和MPSNNGraph的官方API直接调用，开发效率提升40%  \n- 完全兼容iOS 12的Vision框架，自动完成边界框解码和NMS处理  \n- 检测结果以VNRecognizedObjectObservation格式直接输出，无需自定义解析逻辑  \n\n核心价值：通过深度整合苹果生态技术栈，使物体检测性能提升2倍以上，开发成本降低50%，同时显著延长设备续航。","https:\u002F\u002Foss.gittoolsai.com\u002Fimages\u002Fhollance_YOLO-CoreML-MPSNNGraph_1459499a.jpg","hollance","Matthijs Hollemans","https:\u002F\u002Foss.gittoolsai.com\u002Favatars\u002Fhollance_d5df01c7.jpg","Audio software developer and all-round software geek.","Audio developer","Netherlands","mail@hollance.com","mhollemans","https:\u002F\u002Faudiodev.blog","https:\u002F\u002Fgithub.com\u002Fhollance",[25,29],{"name":26,"color":27,"percentage":28},"Swift","#F05138",53.1,{"name":30,"color":31,"percentage":32},"Python","#3572A5",46.9,944,254,"2026-03-16T04:38:24","MIT",3,"macOS","未说明",{"notes":41,"python":42,"dependencies":43},"建议使用 conda 管理环境，首次运行需下载约 5GB 模型文件","2.7, 3.x",[44,45,46,47,48,49,50],"tensorflow","keras==1.2.2","h5py","pydot-ng","pillow","graphviz","coremltools",[52],"开发框架",[54,55,56,57,58,59,60,61],"core-ml","mps","metal","machine-learning","deep-learning","yolo","ios","swift",null,"ready","2026-03-27T02:49:30.150509","2026-04-06T07:12:52.401241",[67,72,77,82,87,92],{"id":68,"question_zh":69,"answer_zh":70,"source_url":71},4867,"转换后的模型无法识别目标，如何解决？","检查是否正确修改了yad2k.py文件，特别是与输入输出维度相关的配置。建议使用官方版本的YAD2K进行转换，并确保模型结构与转换工具兼容。若问题持续，可联系维护者获取进一步帮助。\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F7","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F7",{"id":73,"question_zh":74,"answer_zh":75,"source_url":76},4868,"YOLOV2模型在iOS上无法识别，如何调整？","移除模型中不必要的层以简化结构，并确保使用官方版本的YAD2K进行转换。若模型过大，可尝试优化模型大小或调整输入输出维度。参考示例项目：https:\u002F\u002Fgithub.com\u002Fhollance\u002FForge\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F28","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F28",{"id":78,"question_zh":79,"answer_zh":80,"source_url":81},4869,"iPhone上无法检测到边界框，如何排查？","检查模型转换后的输出维度是否匹配预期（如125x13x13），并确认输入图像尺寸是否符合要求。若使用自定义模型，需调整类数配置（如将125改为实际类数）。建议使用官方版本的YAD2K进行转换。\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F10","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F10",{"id":83,"question_zh":84,"answer_zh":85,"source_url":86},4870,"转换Keras模型时出现错误，如何解决？","确保使用兼容的Python版本（如Python 2.7）和Keras版本（如2.0.4），并检查模型配置文件是否正确。若问题持续，可尝试使用官方YAD2K工具或调整转换脚本中的参数。\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F8","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F8",{"id":88,"question_zh":89,"answer_zh":90,"source_url":91},4871,"如何添加自定义训练的YOLO模型？","修改代码中的类数配置（如将125改为实际类数），并调整输入输出维度（如30x13x13）。确保模型文件路径正确，并在代码中指定输入输出名称以匹配模型结构。\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F18","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F18",{"id":93,"question_zh":94,"answer_zh":95,"source_url":96},4872,"加载Keras模型时出现错误，如何处理？","检查Keras版本与CoreML工具的兼容性，确保模型文件未损坏。若使用自定义模型，需在转换时指定正确的自定义对象配置。建议使用官方文档中的转换流程进行操作。\n\n来源：https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F12","https:\u002F\u002Fgithub.com\u002Fhollance\u002FYOLO-CoreML-MPSNNGraph\u002Fissues\u002F12",[],[99,109,119,127,135,148],{"id":100,"name":101,"github_repo":102,"description_zh":103,"stars":104,"difficulty_score":37,"last_commit_at":105,"category_tags":106,"status":63},3808,"stable-diffusion-webui","AUTOMATIC1111\u002Fstable-diffusion-webui","stable-diffusion-webui 是一个基于 Gradio 构建的网页版操作界面，旨在让用户能够轻松地在本地运行和使用强大的 Stable Diffusion 图像生成模型。它解决了原始模型依赖命令行、操作门槛高且功能分散的痛点，将复杂的 AI 绘图流程整合进一个直观易用的图形化平台。\n\n无论是希望快速上手的普通创作者、需要精细控制画面细节的设计师，还是想要深入探索模型潜力的开发者与研究人员，都能从中获益。其核心亮点在于极高的功能丰富度：不仅支持文生图、图生图、局部重绘（Inpainting）和外绘（Outpainting）等基础模式，还独创了注意力机制调整、提示词矩阵、负向提示词以及“高清修复”等高级功能。此外，它内置了 GFPGAN 和 CodeFormer 等人脸修复工具，支持多种神经网络放大算法，并允许用户通过插件系统无限扩展能力。即使是显存有限的设备，stable-diffusion-webui 也提供了相应的优化选项，让高质量的 AI 艺术创作变得触手可及。",162132,"2026-04-05T11:01:52",[52,107,108],"图像","Agent",{"id":110,"name":111,"github_repo":112,"description_zh":113,"stars":114,"difficulty_score":115,"last_commit_at":116,"category_tags":117,"status":63},1381,"everything-claude-code","affaan-m\u002Feverything-claude-code","everything-claude-code 是一套专为 AI 编程助手（如 Claude Code、Codex、Cursor 等）打造的高性能优化系统。它不仅仅是一组配置文件，而是一个经过长期实战打磨的完整框架，旨在解决 AI 代理在实际开发中面临的效率低下、记忆丢失、安全隐患及缺乏持续学习能力等核心痛点。\n\n通过引入技能模块化、直觉增强、记忆持久化机制以及内置的安全扫描功能，everything-claude-code 能显著提升 AI 在复杂任务中的表现，帮助开发者构建更稳定、更智能的生产级 AI 代理。其独特的“研究优先”开发理念和针对 Token 消耗的优化策略，使得模型响应更快、成本更低，同时有效防御潜在的攻击向量。\n\n这套工具特别适合软件开发者、AI 研究人员以及希望深度定制 AI 工作流的技术团队使用。无论您是在构建大型代码库，还是需要 AI 协助进行安全审计与自动化测试，everything-claude-code 都能提供强大的底层支持。作为一个曾荣获 Anthropic 黑客大奖的开源项目，它融合了多语言支持与丰富的实战钩子（hooks），让 AI 真正成长为懂上",138956,2,"2026-04-05T11:33:21",[52,108,118],"语言模型",{"id":120,"name":121,"github_repo":122,"description_zh":123,"stars":124,"difficulty_score":115,"last_commit_at":125,"category_tags":126,"status":63},2271,"ComfyUI","Comfy-Org\u002FComfyUI","ComfyUI 是一款功能强大且高度模块化的视觉 AI 引擎，专为设计和执行复杂的 Stable Diffusion 图像生成流程而打造。它摒弃了传统的代码编写模式，采用直观的节点式流程图界面，让用户通过连接不同的功能模块即可构建个性化的生成管线。\n\n这一设计巧妙解决了高级 AI 绘图工作流配置复杂、灵活性不足的痛点。用户无需具备编程背景，也能自由组合模型、调整参数并实时预览效果，轻松实现从基础文生图到多步骤高清修复等各类复杂任务。ComfyUI 拥有极佳的兼容性，不仅支持 Windows、macOS 和 Linux 全平台，还广泛适配 NVIDIA、AMD、Intel 及苹果 Silicon 等多种硬件架构，并率先支持 SDXL、Flux、SD3 等前沿模型。\n\n无论是希望深入探索算法潜力的研究人员和开发者，还是追求极致创作自由度的设计师与资深 AI 绘画爱好者，ComfyUI 都能提供强大的支持。其独特的模块化架构允许社区不断扩展新功能，使其成为当前最灵活、生态最丰富的开源扩散模型工具之一，帮助用户将创意高效转化为现实。",107662,"2026-04-03T11:11:01",[52,107,108],{"id":128,"name":129,"github_repo":130,"description_zh":131,"stars":132,"difficulty_score":115,"last_commit_at":133,"category_tags":134,"status":63},3704,"NextChat","ChatGPTNextWeb\u002FNextChat","NextChat 是一款轻量且极速的 AI 助手，旨在为用户提供流畅、跨平台的大模型交互体验。它完美解决了用户在多设备间切换时难以保持对话连续性，以及面对众多 AI 模型不知如何统一管理的痛点。无论是日常办公、学习辅助还是创意激发，NextChat 都能让用户随时随地通过网页、iOS、Android、Windows、MacOS 或 Linux 端无缝接入智能服务。\n\n这款工具非常适合普通用户、学生、职场人士以及需要私有化部署的企业团队使用。对于开发者而言，它也提供了便捷的自托管方案，支持一键部署到 Vercel 或 Zeabur 等平台。\n\nNextChat 的核心亮点在于其广泛的模型兼容性，原生支持 Claude、DeepSeek、GPT-4 及 Gemini Pro 等主流大模型，让用户在一个界面即可自由切换不同 AI 能力。此外，它还率先支持 MCP（Model Context Protocol）协议，增强了上下文处理能力。针对企业用户，NextChat 提供专业版解决方案，具备品牌定制、细粒度权限控制、内部知识库整合及安全审计等功能，满足公司对数据隐私和个性化管理的高标准要求。",87618,"2026-04-05T07:20:52",[52,118],{"id":136,"name":137,"github_repo":138,"description_zh":139,"stars":140,"difficulty_score":115,"last_commit_at":141,"category_tags":142,"status":63},2268,"ML-For-Beginners","microsoft\u002FML-For-Beginners","ML-For-Beginners 是由微软推出的一套系统化机器学习入门课程，旨在帮助零基础用户轻松掌握经典机器学习知识。这套课程将学习路径规划为 12 周，包含 26 节精炼课程和 52 道配套测验，内容涵盖从基础概念到实际应用的完整流程，有效解决了初学者面对庞大知识体系时无从下手、缺乏结构化指导的痛点。\n\n无论是希望转型的开发者、需要补充算法背景的研究人员，还是对人工智能充满好奇的普通爱好者，都能从中受益。课程不仅提供了清晰的理论讲解，还强调动手实践，让用户在循序渐进中建立扎实的技能基础。其独特的亮点在于强大的多语言支持，通过自动化机制提供了包括简体中文在内的 50 多种语言版本，极大地降低了全球不同背景用户的学习门槛。此外，项目采用开源协作模式，社区活跃且内容持续更新，确保学习者能获取前沿且准确的技术资讯。如果你正寻找一条清晰、友好且专业的机器学习入门之路，ML-For-Beginners 将是理想的起点。",84991,"2026-04-05T10:45:23",[107,143,144,145,108,146,118,52,147],"数据工具","视频","插件","其他","音频",{"id":149,"name":150,"github_repo":151,"description_zh":152,"stars":153,"difficulty_score":37,"last_commit_at":154,"category_tags":155,"status":63},3128,"ragflow","infiniflow\u002Fragflow","RAGFlow 是一款领先的开源检索增强生成（RAG）引擎，旨在为大语言模型构建更精准、可靠的上下文层。它巧妙地将前沿的 RAG 技术与智能体（Agent）能力相结合，不仅支持从各类文档中高效提取知识，还能让模型基于这些知识进行逻辑推理和任务执行。\n\n在大模型应用中，幻觉问题和知识滞后是常见痛点。RAGFlow 通过深度解析复杂文档结构（如表格、图表及混合排版），显著提升了信息检索的准确度，从而有效减少模型“胡编乱造”的现象，确保回答既有据可依又具备时效性。其内置的智能体机制更进一步，使系统不仅能回答问题，还能自主规划步骤解决复杂问题。\n\n这款工具特别适合开发者、企业技术团队以及 AI 研究人员使用。无论是希望快速搭建私有知识库问答系统，还是致力于探索大模型在垂直领域落地的创新者，都能从中受益。RAGFlow 提供了可视化的工作流编排界面和灵活的 API 接口，既降低了非算法背景用户的上手门槛，也满足了专业开发者对系统深度定制的需求。作为基于 Apache 2.0 协议开源的项目，它正成为连接通用大模型与行业专有知识之间的重要桥梁。",77062,"2026-04-04T04:44:48",[108,107,52,118,146]]