Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 664 Bytes

File metadata and controls

28 lines (18 loc) · 664 Bytes

介绍

本目录下代码用于介绍使用TopsInference2.0接口搭建完整的推理应用

目录结构如下

├── 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