Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
7ccdf7fe
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
331
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
7ccdf7fe
编写于
8月 15, 2018
作者:
X
xiebaiyuan
提交者:
GitHub
8月 15, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #774 from xiebaiyuan/develop
add simple build for mobilenetssd close
#773
上级
18b43434
0f5b8602
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
27 addition
and
2 deletion
+27
-2
test/CMakeLists.txt
test/CMakeLists.txt
+4
-1
tools/build.sh
tools/build.sh
+1
-1
tools/op.cmake
tools/op.cmake
+22
-0
未找到文件。
test/CMakeLists.txt
浏览文件 @
7ccdf7fe
...
@@ -31,7 +31,10 @@ elseif("FPGAnets" IN_LIST NET)
...
@@ -31,7 +31,10 @@ elseif("FPGAnets" IN_LIST NET)
# target_link_libraries(test-resnet paddle-mobile)
# target_link_libraries(test-resnet paddle-mobile)
ADD_EXECUTABLE
(
test-tensor-quant fpga/test_tensor_quant.cpp test_helper.h test_include.h executor_for_test.h
)
ADD_EXECUTABLE
(
test-tensor-quant fpga/test_tensor_quant.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-tensor-quant paddle-mobile
)
target_link_libraries
(
test-tensor-quant paddle-mobile
)
elseif
(
"mobilenetssd"
IN_LIST NET
)
# gen test
ADD_EXECUTABLE
(
test-mobilenetssd net/test_mobilenet+ssd.cpp test_helper.h test_include.h executor_for_test.h
)
target_link_libraries
(
test-mobilenetssd paddle-mobile
)
else
()
else
()
# gen test
# gen test
...
...
tools/build.sh
浏览文件 @
7ccdf7fe
#!/usr/bin/env bash
#!/usr/bin/env bash
NETS
=
""
NETS
=
""
declare
-a
supportedNets
=(
"googlenet"
"mobilenet"
"yolo"
"squeezenet"
"resnet"
)
declare
-a
supportedNets
=(
"googlenet"
"mobilenet"
"yolo"
"squeezenet"
"resnet"
"mobilenetssd"
)
build_for_mac
()
{
build_for_mac
()
{
if
[
!
`
which brew
`
]
;
then
if
[
!
`
which brew
`
]
;
then
...
...
tools/op.cmake
浏览文件 @
7ccdf7fe
...
@@ -33,6 +33,28 @@ if ("mobilenet" IN_LIST NET)
...
@@ -33,6 +33,28 @@ if ("mobilenet" IN_LIST NET)
endif
()
endif
()
if
(
"mobilenetssd"
IN_LIST NET
)
message
(
"mobilenetssd enabled"
)
set
(
FUSION_CONVBNRELU_OP ON
)
set
(
FUSION_CONVBNRELU_OP ON
)
set
(
FUSION_DWCONVBNRELU_OP ON
)
set
(
FUSION_CONVADD_OP ON
)
set
(
MULTICLASSNMS_OP ON
)
set
(
SOFTMAX_OP ON
)
set
(
TRANSPOSE_OP ON
)
#feed
set
(
PRIORBOX_OP ON
)
set
(
CONCAT_OP ON
)
set
(
BOXCODER_OP ON
)
set
(
RESHAPE_OP ON
)
#fetch
#total
set
(
FOUND_MATCH ON
)
endif
()
if
(
"yolo"
IN_LIST NET
)
if
(
"yolo"
IN_LIST NET
)
message
(
"yolo enabled"
)
message
(
"yolo enabled"
)
set
(
BATCHNORM_OP ON
)
set
(
BATCHNORM_OP ON
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录