Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Xiaomi
Mace
提交
b1aa90e3
Mace
项目概览
Xiaomi
/
Mace
通知
107
Star
40
Fork
27
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Mace
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b1aa90e3
编写于
5月 07, 2019
作者:
L
Liangliang He
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Change pypi mirros to aliyun
上级
576ca249
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
13 deletion
+12
-13
docker/mace-dev-lite/Dockerfile
docker/mace-dev-lite/Dockerfile
+6
-5
docker/mace-dev/Dockerfile
docker/mace-dev/Dockerfile
+6
-6
docker/update_images.sh
docker/update_images.sh
+0
-2
未找到文件。
docker/mace-dev-lite/Dockerfile
浏览文件 @
b1aa90e3
...
...
@@ -113,9 +113,10 @@ ENV PATH ${PATH}:${ANDROID_NDK_HOME}
# Install tools
RUN
apt-get
install
-y
--no-install-recommends
\
android-tools-adb
RUN
pip
install
-i
http://pypi.douban.com/simple/
--trusted-host
pypi.douban.com setuptools
RUN
pip
install
-i
http://pypi.douban.com/simple/
--trusted-host
pypi.douban.com
\
"numpy>=1.14.0"
\
RUN
pip
install
--upgrade
pip
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com setuptools
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
numpy>
=
1.14.0
\
scipy
\
jinja2
\
pyyaml
\
...
...
@@ -125,7 +126,7 @@ RUN pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
PTable
# Install Tensorflow
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
tensorflow
==
1.8.0
# Install pytorch (refer to: https://pytorch.org/get-started/locally/)
...
...
@@ -133,7 +134,7 @@ RUN pip install future==0.17.1 torchvision_nightly
RUN
pip
install
torch_nightly
-f
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# Install ONNX
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
onnx
==
1.3.0
\
onnx-tf
==
1.2.0
...
...
docker/mace-dev/Dockerfile
浏览文件 @
b1aa90e3
...
...
@@ -9,7 +9,7 @@ RUN apt-get install -y --no-install-recommends \
screen
\
htop
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
sphinx
\
sphinx-autobuild
\
sphinx_rtd_theme
\
...
...
@@ -19,8 +19,8 @@ RUN pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
RUN
pyenv global 3.6.3
# Install tools
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com setuptools
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com setuptools
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
"numpy>=1.14.0"
\
scipy
\
jinja2
\
...
...
@@ -31,7 +31,7 @@ RUN pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
PTable
# Install Tensorflow
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
tensorflow
==
1.8.0
# Install pytorch (refer to: https://pytorch.org/get-started/locally/)
...
...
@@ -39,11 +39,11 @@ RUN pip install future==0.17.1 torchvision_nightly
RUN
pip
install
torch_nightly
-f
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# Install ONNX
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
onnx
==
1.3.0
\
onnx-tf
==
1.2.0
RUN
pip
install
-i
http://
pypi.douban.com/simple/
--trusted-host
pypi.douba
n.com
\
RUN
pip
install
-i
http://
mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyu
n.com
\
sphinx
\
sphinx-autobuild
\
sphinx_rtd_theme
\
...
...
docker/update_images.sh
浏览文件 @
b1aa90e3
...
...
@@ -24,5 +24,3 @@ else
echo
"Login docker registry server is needed!"
exit
1
fi
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录