Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PLSC
提交
9d1fbf20
P
PLSC
项目概览
PaddlePaddle
/
PLSC
通知
10
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
5
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PLSC
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
5
Issue
5
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
9d1fbf20
编写于
12月 18, 2019
作者:
M
MRXLT
提交者:
GitHub
12月 18, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7 from MRXLT/master
fix server conf && __init__
上级
18f3b86a
76a8cc2b
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
36 addition
and
36 deletion
+36
-36
serving/server/plsc_serving/run/__init__.py
serving/server/plsc_serving/run/__init__.py
+3
-3
serving/server/plsc_serving/server/conf/model_toolkit.prototxt
...ng/server/plsc_serving/server/conf/model_toolkit.prototxt
+1
-1
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.0
.../server/plsc_serving/server/conf/model_toolkit.prototxt.0
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.1
.../server/plsc_serving/server/conf/model_toolkit.prototxt.1
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.10
...server/plsc_serving/server/conf/model_toolkit.prototxt.10
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.11
...server/plsc_serving/server/conf/model_toolkit.prototxt.11
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.12
...server/plsc_serving/server/conf/model_toolkit.prototxt.12
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.13
...server/plsc_serving/server/conf/model_toolkit.prototxt.13
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.14
...server/plsc_serving/server/conf/model_toolkit.prototxt.14
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.15
...server/plsc_serving/server/conf/model_toolkit.prototxt.15
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.2
.../server/plsc_serving/server/conf/model_toolkit.prototxt.2
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.3
.../server/plsc_serving/server/conf/model_toolkit.prototxt.3
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.4
.../server/plsc_serving/server/conf/model_toolkit.prototxt.4
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.5
.../server/plsc_serving/server/conf/model_toolkit.prototxt.5
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.6
.../server/plsc_serving/server/conf/model_toolkit.prototxt.6
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.7
.../server/plsc_serving/server/conf/model_toolkit.prototxt.7
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.8
.../server/plsc_serving/server/conf/model_toolkit.prototxt.8
+2
-2
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.9
.../server/plsc_serving/server/conf/model_toolkit.prototxt.9
+2
-2
未找到文件。
serving/server/plsc_serving/run/__init__.py
浏览文件 @
9d1fbf20
...
...
@@ -15,7 +15,7 @@
import
os
import
re
import
tarfile
import
face
_serving
import
plsc
_serving
import
subprocess
import
imp
import
time
...
...
@@ -37,7 +37,7 @@ class PLSCServer():
def
get_exe
(
self
):
exe_path
=
'./bin'
module_version
=
face
_serving
.
__version__
module_version
=
plsc
_serving
.
__version__
target_version_list
=
module_version
.
strip
().
split
(
'.'
)
target_version
=
target_version_list
[
0
]
+
'.'
+
target_version_list
[
1
]
need_download
=
False
...
...
@@ -162,7 +162,7 @@ class PLSCServer():
self
.
get_model
(
model_name
)
def
get_path
(
self
):
py_path
=
os
.
path
.
dirname
(
face
_serving
.
__file__
)
py_path
=
os
.
path
.
dirname
(
plsc
_serving
.
__file__
)
server_path
=
os
.
path
.
join
(
py_path
,
'server'
)
return
server_path
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt
浏览文件 @
9d1fbf20
...
...
@@ -3,7 +3,7 @@ engines {
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.0
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.1
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.10
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.11
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.12
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.13
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.14
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.15
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.2
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.3
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.4
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.5
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.6
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.7
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.8
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
serving/server/plsc_serving/server/conf/model_toolkit.prototxt.9
浏览文件 @
9d1fbf20
engines {
name: "
bert
"
name: "
face_resnet50
"
type: "FLUID_GPU_ANALYSIS_DIR"
reloadable_meta: "./data/model/paddle/fluid_time_file"
reloadable_type: "timestamp_ne"
model_data_path: "
/home/xulongteng/.paddlehub/bert_service/bert_chinese_L-12_H-768_A-12
"
model_data_path: "
./data/model/paddle/fluid/
"
runtime_thread_num: 0
batch_infer_size: 0
enable_batch_align: 0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录