Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
95b4a6a2
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
95b4a6a2
编写于
7月 12, 2018
作者:
M
minqiyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make import paddle.fluid possible now
上级
48fef01e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
5 deletion
+8
-5
paddle/scripts/paddle_build.sh
paddle/scripts/paddle_build.sh
+1
-1
python/paddle/reader/decorator.py
python/paddle/reader/decorator.py
+4
-4
python/requirements.txt
python/requirements.txt
+1
-0
python/setup.py.in
python/setup.py.in
+2
-0
未找到文件。
paddle/scripts/paddle_build.sh
浏览文件 @
95b4a6a2
...
...
@@ -79,7 +79,7 @@ function cmake_gen() {
-DPYTHON_INCLUDE_DIR:PATH=/opt/python/cp27-cp27mu/include/python2.7
-DPYTHON_LIBRARIES:FILEPATH=/opt/_internal/cpython-2.7.11-ucs4/lib/libpython2.7.so"
elif
[
"
$1
"
==
"cp35-cp35m"
]
;
then
export
LD_LIBRARY_PATH
=
/opt/_internal/cpython-3.5.1/lib/
export
LD_LIBRARY_PATH
=
/opt/_internal/cpython-3.5.1/lib/
:
${
LD_LIBRARY_PATH
}
export
PATH
=
/opt/_internal/cpython-3.5.1/bin/:
${
PATH
}
export
PYTHON_FLAGS
=
"-DPYTHON_EXECUTABLE:FILEPATH=/opt/_internal/cpython-3.5.1/bin/python3
-DPYTHON_INCLUDE_DIR:PATH=/opt/_internal/cpython-3.5.1/include/python3.5m
...
...
python/paddle/reader/decorator.py
浏览文件 @
95b4a6a2
...
...
@@ -20,7 +20,7 @@ __all__ = [
from
threading
import
Thread
import
subprocess
from
Queue
import
Q
ueue
from
six.moves
import
q
ueue
import
itertools
import
random
import
zlib
...
...
@@ -190,7 +190,7 @@ def buffered(reader, size):
def
data_reader
():
r
=
reader
()
q
=
Q
ueue
(
maxsize
=
size
)
q
=
q
ueue
(
maxsize
=
size
)
t
=
Thread
(
target
=
read_worker
,
args
=
(
r
,
...
...
@@ -293,8 +293,8 @@ def xmap_readers(mapper, reader, process_num, buffer_size, order=False):
out_queue
.
put
(
end
)
def
xreader
():
in_queue
=
Q
ueue
(
buffer_size
)
out_queue
=
Q
ueue
(
buffer_size
)
in_queue
=
q
ueue
(
buffer_size
)
out_queue
=
q
ueue
(
buffer_size
)
out_order
=
[
0
]
# start a read worker in a thread
target
=
order_read_worker
if
order
else
read_worker
...
...
python/requirements.txt
浏览文件 @
95b4a6a2
...
...
@@ -8,3 +8,4 @@ scipy>=0.19.0
Pillow
nltk>=3.2.2
graphviz
six
python/setup.py.in
浏览文件 @
95b4a6a2
...
...
@@ -17,6 +17,7 @@ def git_commit():
git_commit = subprocess.Popen(cmd, stdout = subprocess.PIPE).communicate()[0].strip()
except:
git_commit = 'Unknown'
git_commit = git_commit.decode()
return str(git_commit)
def _get_version_detail(idx):
...
...
@@ -44,6 +45,7 @@ def is_taged():
try:
cmd = ['git', 'describe', '--exact-match', '--tags']
git_tag = subprocess.Popen(cmd, stdout = subprocess.PIPE).communicate()[0].strip()
git_tag = git_tag.decode()
except:
return False
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录