Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
deeplabv3_migraphx
Commits
3a94060d
Commit
3a94060d
authored
Aug 21, 2025
by
shangxl
Browse files
提交配置文件
parent
e802afd4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
0 deletions
+52
-0
CMakeLists.txt
CMakeLists.txt
+40
-0
icon.png
icon.png
+0
-0
model.properties
model.properties
+10
-0
requirements.txt
requirements.txt
+2
-0
No files found.
CMakeLists.txt
0 → 100644
View file @
3a94060d
# 设置cmake的最低版本
cmake_minimum_required
(
VERSION 3.5
)
# 设置项目名
project
(
DeepLabV3
)
# 设置编译器
set
(
CMAKE_CXX_COMPILER g++
)
set
(
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
-std=c++17
)
# 2.2版本以上需要c++17
set
(
CMAKE_BUILD_TYPE release
)
# 添加头文件路径
set
(
INCLUDE_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/Utility/
$ENV{DTKROOT}/include/
${
CMAKE_CURRENT_SOURCE_DIR
}
/depend/include/
)
include_directories
(
${
INCLUDE_PATH
}
)
# 添加依赖库路径
set
(
LIBRARY_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/depend/lib/
$ENV{DTKROOT}/lib/
)
link_directories
(
${
LIBRARY_PATH
}
)
# 添加依赖库
set
(
LIBRARY opencv_core
opencv_imgproc
opencv_imgcodecs
opencv_dnn
migraphx
migraphx_gpu
migraphx_onnx
)
link_libraries
(
${
LIBRARY
}
)
# 添加源文件
set
(
SOURCE_FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/main.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/DeepLabV3.cpp
${
CMAKE_CURRENT_SOURCE_DIR
}
/Src/Utility/Filesystem.cpp
)
# 添加可执行目标
add_executable
(
DeepLabV3
${
SOURCE_FILES
}
)
icon.png
0 → 100644
View file @
3a94060d
66.7 KB
model.properties
0 → 100644
View file @
3a94060d
#模型唯一标识符
modelCode
=
1703
#模型名称
modelName
=
deeplabv3_migraphx
#模型描述
modelDescription
=
DeepLabV3 是 DeepLab 系列语义分割算法的第三代版本,主要用于语义分割任务。
#应用场景
appScenario
=
推理,目标检测,交通,教育,化工
#框架类型
frameType
=
migraphx
\ No newline at end of file
requirements.txt
0 → 100644
View file @
3a94060d
./3rdParty/opencv-3.4.11_mini.tar.gz
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