Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
07fad171
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
07fad171
编写于
5月 25, 2017
作者:
D
dzhwinter
提交者:
GitHub
5月 25, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2252 from dzhwinter/mq2007
"add mq2007 to dataset init"
上级
a0be0ed6
8813ad9d
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
3 deletion
+8
-3
.travis.yml
.travis.yml
+1
-0
Dockerfile
Dockerfile
+2
-1
paddle/scripts/run_python_tests.sh
paddle/scripts/run_python_tests.sh
+1
-1
python/paddle/v2/dataset/__init__.py
python/paddle/v2/dataset/__init__.py
+2
-1
python/setup.py.in
python/setup.py.in
+2
-0
未找到文件。
.travis.yml
浏览文件 @
07fad171
...
@@ -49,6 +49,7 @@ before_install:
...
@@ -49,6 +49,7 @@ before_install:
# Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python
# Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python
# protobuf version.
# protobuf version.
-
pip install numpy wheel 'protobuf==3.1' sphinx==1.5.6 recommonmark sphinx-rtd-theme==0.1.9 virtualenv pre-commit requests==2.9.2 LinkChecker
-
pip install numpy wheel 'protobuf==3.1' sphinx==1.5.6 recommonmark sphinx-rtd-theme==0.1.9 virtualenv pre-commit requests==2.9.2 LinkChecker
-
pip install rarfile
-
|
-
|
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
script
:
script
:
...
...
Dockerfile
浏览文件 @
07fad171
...
@@ -56,7 +56,8 @@ RUN pip install --upgrade pip && \
...
@@ -56,7 +56,8 @@ RUN pip install --upgrade pip && \
pip
install
-U
docopt PyYAML sphinx
&&
\
pip
install
-U
docopt PyYAML sphinx
&&
\
pip
install
-U
sphinx-rtd-theme
==
0.1.9 recommonmark
&&
\
pip
install
-U
sphinx-rtd-theme
==
0.1.9 recommonmark
&&
\
pip
install
pre-commit
'requests==2.9.2'
'ipython==5.3.0'
&&
\
pip
install
pre-commit
'requests==2.9.2'
'ipython==5.3.0'
&&
\
pip
install
'ipykernel==4.6.0'
'jupyter==1.0.0'
pip
install
'ipykernel==4.6.0'
'jupyter==1.0.0'
&&
\
pip install rarfile
# To fix https://github.com/PaddlePaddle/Paddle/issues/1954, we use
# To fix https://github.com/PaddlePaddle/Paddle/issues/1954, we use
# the solution in https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2
# the solution in https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2
...
...
paddle/scripts/run_python_tests.sh
浏览文件 @
07fad171
...
@@ -29,7 +29,7 @@ if [ $USE_VIRTUALENV_FOR_TEST -ne 0 ]; then
...
@@ -29,7 +29,7 @@ if [ $USE_VIRTUALENV_FOR_TEST -ne 0 ]; then
fi
fi
export
PYTHONPATH
=
$SCRIPTPATH
/../../python/
export
PYTHONPATH
=
$SCRIPTPATH
/../../python/
$PYTHON
-m
pip
install
$SCRIPTPATH
/../dist/
*
.whl requests matplotlib opencv-python
ipython
==
5.3
$PYTHON
-m
pip
install
$SCRIPTPATH
/../dist/
*
.whl requests matplotlib opencv-python
ipython
==
5.3
rarfile
for
fn
in
"
$@
"
for
fn
in
"
$@
"
do
do
...
...
python/paddle/v2/dataset/__init__.py
浏览文件 @
07fad171
...
@@ -24,8 +24,9 @@ import conll05
...
@@ -24,8 +24,9 @@ import conll05
import
uci_housing
import
uci_housing
import
sentiment
import
sentiment
import
wmt14
import
wmt14
import
mq2007
__all__
=
[
__all__
=
[
'mnist'
,
'imikolov'
,
'imdb'
,
'cifar'
,
'movielens'
,
'conll05'
,
'sentiment'
'mnist'
,
'imikolov'
,
'imdb'
,
'cifar'
,
'movielens'
,
'conll05'
,
'sentiment'
'uci_housing'
,
'wmt14'
'uci_housing'
,
'wmt14'
,
'mq2007'
]
]
python/setup.py.in
浏览文件 @
07fad171
from setuptools import setup
from setuptools import setup
packages=['paddle',
packages=['paddle',
'paddle.proto',
'paddle.proto',
'paddle.trainer',
'paddle.trainer',
...
@@ -18,6 +19,7 @@ setup(name='paddle',
...
@@ -18,6 +19,7 @@ setup(name='paddle',
"numpy",
"numpy",
"protobuf==${PROTOBUF_VERSION}",
"protobuf==${PROTOBUF_VERSION}",
"matplotlib",
"matplotlib",
"rarfile"
],
],
packages=packages,
packages=packages,
package_dir={
package_dir={
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录