LTW.YoloDotNet.Cpu.Execution.Provider 1.1.1-aotfix.1

This is a prerelease version of LTW.YoloDotNet.Cpu.Execution.Provider.
dotnet add package LTW.YoloDotNet.Cpu.Execution.Provider --version 1.1.1-aotfix.1
                    
NuGet\Install-Package LTW.YoloDotNet.Cpu.Execution.Provider -Version 1.1.1-aotfix.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LTW.YoloDotNet.Cpu.Execution.Provider" Version="1.1.1-aotfix.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LTW.YoloDotNet.Cpu.Execution.Provider" Version="1.1.1-aotfix.1" />
                    
Directory.Packages.props
<PackageReference Include="LTW.YoloDotNet.Cpu.Execution.Provider" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LTW.YoloDotNet.Cpu.Execution.Provider --version 1.1.1-aotfix.1
                    
#r "nuget: LTW.YoloDotNet.Cpu.Execution.Provider, 1.1.1-aotfix.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LTW.YoloDotNet.Cpu.Execution.Provider@1.1.1-aotfix.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LTW.YoloDotNet.Cpu.Execution.Provider&version=1.1.1-aotfix.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=LTW.YoloDotNet.Cpu.Execution.Provider&version=1.1.1-aotfix.1&prerelease
                    
Install as a Cake Tool

信息

YoloDotNet 使用模块化执行器在不同硬件后端上运行推理。 每个执行器都针对特定平台或加速器,并且可能需要额外的系统级依赖(如运行时、驱动或 SDK)。

仅安装 NuGet 包并不总是足够——正确配置取决于所选执行器和目标系统。
本文档说明 CPU 执行器 的安装、环境要求与使用方式。

核心库要求

所有执行器都依赖核心 YoloDotNet 包,其中包含共享的推理管线、模型和 API。

NuGet 包

dotnet add package YoloDotNet

执行器 - CPU

CPU 执行器使用 ONNX Runtime 内置的 CPU 后端,在系统 CPU 上运行推理。
它是可移植性最强的执行器,且无需额外依赖。

环境要求:

  • 任意兼容 x64 的 CPU
  • Windows、Linux 或 macOS

说明

  • CPU 执行器始终可用,并可在所有受支持平台上运行。
  • 相较于硬件加速执行器,性能会更低,但非常适合开发、测试,以及没有 GPU/NPU 支持的环境。

安装

无需额外安装或配置。
安装 NuGet 包后直接运行应用即可。

YoloDotNet.ExecutionProvider.Cpu v1.1 需要 YoloDotNet 4.1 版本。

NuGet 包

dotnet add package YoloDotNet.ExecutionProvider.Cpu

使用示例:

using YoloDotNet;
using YoloDotNet.ExecutionProvider.Cpu;

using var yolo = new Yolo(new YoloOptions
{
    ExecutionProvider = new CpuExecutionProvider(model: "path/to/model.onnx"),

    // ...其他选项
});
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1-aotfix.1 42 5/6/2026