# tops_inference_sample **Repository Path**: EnflameTechnology/tops_inference_sample ## Basic Information - **Project Name**: tops_inference_sample - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-30 - **Last Updated**: 2026-02-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 介绍 本目录下代码用于介绍使用TopsInference2.0接口搭建完整的推理应用 ## 目录结构如下 ```shell ├── cpp --cpp sample code ├── data --data for testing ├── engines --engine file ├── models --preset model for evaluation & integration ├── python --python sample code └── README.md ``` ## 运行测试 ## 步骤1: 安装软件包 * **tops-inference** 应被安装好 ## 步骤2: 准备预训练模型 例如使用resnet50_v1.5的torchvision预训练模型,需转换为onnx, ## 步骤3: 编译和执行具体的sample 参考sample子目录的README.md