摘要: 1.首先官网上下载libtorch,放到当前项目下 2.将pytorch训练好的模型使用torch.jit.trace导出为.pt格式 torchscript加载.pt模型 CMakeLists.txt编译 运行 阅读全文
posted @ 2019-12-04 10:34 阿夏z 阅读(3911) 评论(1) 推荐(0) 编辑