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
a9cc5503
Commit
a9cc5503
authored
Sep 22, 2022
by
xin.wang.waytous
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme
parent
3bce63c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
README.md
README.md
+16
-14
No files found.
README.md
View file @
a9cc5503
1.
编译:
# 1. 编译
git clone https://gitee.com/waytous/deepinfer.git
git clone https://gitee.com/waytous/deepinfer.git
cd DeepInfer
cd DeepInfer
...
@@ -12,30 +12,32 @@ cmake ..
...
@@ -12,30 +12,32 @@ cmake ..
make -j32
make -j32
2.
测试:
# 2. 测试
修改需要测试任务的配置文件中的configRootPath和device,configRootPath为配置文件configs的绝对路径,device为运行gpu的id
./main TaskMOTS image ../configs/tasks/mots/mots.yaml ../test/bsw.jpg ../test/mots_res.jpg
修改需要测试任务的配置文件中的configRootPath和device,configRootPath为配置文件configs的绝对路径,device为运行gpu的id
./main TaskDetect image ../configs/tasks/thermal/thermal.yaml ../test/thermal2.jpg,../test/thermal2.jpg ../test/t_b1_res.jpg,../test/t_b2_res.jpg
> ./main TaskMOTS image ../configs/tasks/mots/mots.yaml ../test/bsw.jpg ../test/mots_res.jpg
> ./main TaskDetect image ../configs/tasks/thermal/thermal.yaml ../test/thermal2.jpg,../test/thermal2.jpg ../test/t_b1_res.jpg,../test/t_b2_res.jpg
> ./main TaskFusion image ../configs/tasks/fusion/fusion.yaml ../test/fusion_rgb.png,../test/fusion_thermal.png ../test/fusion_res.jpg
> ./main TaskDMS image ../configs/tasks/dms/dms.yaml ../test/dms.jpg ../test/dms_res.jpg
> ./main TaskBSW image ../configs/tasks/bsw/bsw.yaml ../test/bsw.jpg ../test/bsw_res.jpg
./main TaskFusion image ../configs/tasks/fusion/fusion.yaml ../test/fusion_rgb.png,../test/fusion_thermal.png ../test/fusion_res.jpg
./main TaskDMS image ../configs/tasks/dms/dms.yaml ../test/dms.jpg ../test/dms_res.jpg
# 3. 扩展
./main TaskBSW image ../configs/tasks/bsw/bsw.yaml ../test/bsw.jpg ../test/bsw_res.jpg
本库可以分为三级扩展:Unit、Model和Task
## 3.1 Unit
3.
扩展
继承BaseUnit基类,从GlobalIOMap中获取输入,最后将输出加入此map中,
本库可以分为三级扩展:Unit、Model和Task
3.
1 Unit
继承BaseUnit基类,从GlobalIOMap中获取输入,最后将输出加入此map中
每个Unit的输入输出都是继承至BaseIO类,根据不同Unit的需要进行继承。
每个Unit的输入输出都是继承至BaseIO类,根据不同Unit的需要进行继承。
3.
2 Model
## 3.2 Model
继承基类BaseModel,将输入的图像或者点云等资源进行注册,运行定义好的全部Unit,输出结果
继承基类BaseModel,将输入的图像或者点云等资源进行注册,运行定义好的全部Unit,输出结果
3.
3 Task
## 3.3 Task
继承基类BaseTask,根据不同的任务,将不同模型的输入输出结合并处理
继承基类BaseTask,根据不同的任务,将不同模型的输入输出结合并处理
...
...
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