Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
deepinfer
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangxue
deepinfer
Commits
c7156e91
Commit
c7156e91
authored
Apr 08, 2025
by
yangxue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
parent
e9731c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
3 deletions
+30
-3
README.md
README.md
+30
-3
No files found.
README.md
View file @
c7156e91
<!--
*
@Author: yangxue && xue.yang@waytous.com
*
@Date: 2025-04-07 09:39:32
*
@LastEditors: yangxue xue.yang@waytous.com
*
@LastEditTime: 2025-04-07 09:57:50
*
@FilePath: /ubuntu/projects/deepinfer/README.md
*
@Description:
*
*
Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
-->
# 1. 编译
...
...
@@ -6,14 +16,28 @@
`cd DeepInfer`
修改CMakeLists.txt中cuda、tensorrt、yaml、gflag和glog等库的路径
-
根据实际情况修改CMakeLists.txt中cuda、tensorrt、yaml、gflag和glog等库的路径,。天准域控的路径如下:
```
# cuda
link_directories(/usr/local/cuda/lib64)
include_directories(/usr/local/cuda/include)
# tensorrt
link_directories(/usr/lib/aarch64-linux-gnu)
include_directories(/usr/include/aarch64-linux-gnu)
# gflags, glog
include_directories(/usr/include/gflags)
include_directories(/usr/include/glog)
```
`mkdir build && cd build`
`cmake ..`
`cmake ..`
or
`cmake -DCUDA_nppicom_LIBRARY=/usr/local/cuda/lib64/libnppim.so ..`
`make -j32`
(部署时,完成编译即可)
# 2. 测试
...
...
@@ -47,5 +71,8 @@
继承基类BaseTask,根据不同的任务,将不同模型的输入输出结合并处理
# 4. 压缩部署文件
```
zip -r deepinfer.zip deepinfer/ -x "deepinfer/.vscode/*" -x "deepinfer/build/*" -x "deepinfer/configs/*" -x "deepinfer/test/*" -x "deepinfer/.git/*"
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment