我们使用一些必要的Cookie来确保网站正常运行。

我们使用可选的 Cookie,具体详情请参阅我们的Cookie政策,用于记住您的设置并了解您如何使用我们的网站。

Raspberry Pi AI Kit 更新:Dataflow Compiler 现已发布

我们近期发布的树莓派 AI 套件引起了社区的广泛关注。在发布时,我们提供了一系列基于计算机视觉的AI 演示和示例,这些演示和示例基于知名的前沿神经网络模型构建。然而,我们的进阶用户很快提出了更多需求——特别是能够使用自己的数据集重新训练这些模型,甚至编译自定义模型以在 Hailo AI 加速器上运行。Hailo 一直在幕后辛勤工作,我们非常高兴地宣布发布Hailo Dataflow Compiler (DFC)。DFC 将使用户能够扩展 Raspberry Pi AI Kit 的功能,并针对其特定用例微调其性能。

The image shows a Raspberry Pi 5 with an attached Raspberry Pi M.2 HAT+ board. The Raspberry Pi 5 is the base component, identifiable by its HDMI ports, USB ports, and Ethernet port visible at the bottom right. The M.2 HAT+ board is mounted on top of the Raspberry Pi using four standoffs, which elevate it above the main board. The M.2 HAT+ board has an M.2 module installed, which is secured in place and connected to the HAT+ board. The setup appears to be compact and well-organized, with the M.2 module's connector edge visible and fitted into the HAT+ board. The ribbon cable is connected to the HAT+ board, indicating that it might be used for additional connectivity or power. This configuration is used to enhance the capabilities of the Raspberry Pi 5 by adding support for M.2 devices, which could include high-speed storage solutions or other peripherals, thus expanding the functionality and performance of the Raspberry Pi system.
所有部件都牢固地组合在一起,因此很容易将其嵌入到其他硬件中

Bring Your Own Data (BYOD)

想制作一台野生动物相机来检测特定类型的动物吗?在 BYOD 模式下使用 DFC,用户可以利用一些最受欢迎的神经网络模型,并使用自己的自定义数据集进行重新训练。Hailo 创建了一个端到端的教程,概述了如何重新训练现有的神经网络模型.

Bring Your Own Model (BYOM)

如果我们现有的演示和Hailo 模型库中提供的神经网络模型无法满足您的需求,您可以使用 DFC 将 ONNX 或 TensorFlow Lite (TFLite) 模型转换并编译为 Hailo 的 HEF 格式,以便在 Hailo AI 加速器上运行。BYOM 并不适合初学者,它需要对模型和转换流程有深入的了解——但有些人会将其视为一个有趣的挑战。请查看Hailo 开发者专区中的 DFC 教程.

接下来呢?

用户还询问了关于在 Hailo AI 加速器上运行 Whisper、Stable Diffusion 等模型的问题。这些超大型网络模型目前还无法运行,但 Hailo 正在努力移植其中一些模型。

The image shows two components commonly used in conjunction with Raspberry Pi devices. The larger component on the top is a Raspberry Pi M.2 HAT+ (Hardware Attached on Top) board. It features an M.2 connector for PCI Express devices and has mounting holes labeled for different M.2 sizes (2230 and 2242). There is also a ribbon cable connector and other electronic components on the board. The smaller component at the bottom is an M.2 module, likely an NVMe SSD or a different type of PCIe device. It has a metallic shield over the main chip and a gold connector edge designed to fit into the M.2 slot on the HAT+ board. The component also shows a few smaller electronic components and traces on its PCB (Printed Circuit Board). These components are used together to expand the functionality of a Raspberry Pi by adding high-speed storage or other peripherals through the M.2 interface.

Python/Picamera2 与 Raspberry Pi AI Kit 的集成也即将推出。我们计划在下一次软件包发布中提供对 Python 和 Picamera2 的全面支持,包括演示和示例。

5条评论

Anders avatar

一千大洋买张 RTX 4080。
这似乎正是我入手一张所需的好借口。

Szaja avatar

好消息!谢谢!

crumble avatar

为什么大模型无法在该设备上运行(却能在配备8GB本地RAM的设备上运行)?很高兴看到这些改进。但在教育系统中,我希望能得到一些宏观层面的解释,说明其可行或不可行的原因。

难道仅仅是因为在设备没有大缓存的情况下,通过PCIe传输如此庞大的数据速度太慢了吗?
还是说Hailo采用了类似BitNet的压缩技术,从而对结果产生了巨大影响?

PCJR avatar

双M2能与AI M2一起使用吗?还是必须使用图中所示的HAT?

T L avatar

如果能出一份教程,详细说明如何在Raspberry Pi 5上安装Dataflow Compiler以及如何使用它,那就太好了……这对我们这些AI小白来说非常需要。

评论已关闭