Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Xiaomi
Mace
提交
f2601030
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看板
提交
f2601030
编写于
5月 16, 2019
作者:
叶
叶剑武
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'install-python2.7' into 'master'
Install python2.7 to make mobile-ai-bench code work See merge request !1100
上级
37810813
bbd42192
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
32 addition
and
3 deletion
+32
-3
docker/mace-dev/Dockerfile
docker/mace-dev/Dockerfile
+30
-0
docs/Makefile
docs/Makefile
+2
-1
tools/device.py
tools/device.py
+0
-2
未找到文件。
docker/mace-dev/Dockerfile
浏览文件 @
f2601030
...
@@ -81,3 +81,33 @@ ENV ANDROID_NDK_HOME /opt/android-ndk-${ANDROID_NDK_VERSION}
...
@@ -81,3 +81,33 @@ ENV ANDROID_NDK_HOME /opt/android-ndk-${ANDROID_NDK_VERSION}
ENV
LINARO_ARM_LINUX_GNUEABIHF /opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf
ENV
LINARO_ARM_LINUX_GNUEABIHF /opt/gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf
ENV
LINARO_AARCH64_LINUX_GNU /opt/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu
ENV
LINARO_AARCH64_LINUX_GNU /opt/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu
ENV
PATH /opt/protoc-3.6.1/bin:${PATH}
ENV
PATH /opt/protoc-3.6.1/bin:${PATH}
RUN
pyenv
install
2.7.12
RUN
pyenv global 2.7.12
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
--upgrade
pip setuptools
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
numpy
==
1.15.4
\
scipy
==
1.2.0
\
Jinja2
==
2.10
\
PyYAML
==
3.13
\
sh
==
1.12.14
\
pycodestyle
==
2.4.0
\
filelock
==
3.0.10
\
PTable
==
0.9.2
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
tensorflow
==
1.8.0
# Install pytorch (refer to: https://pytorch.org/get-started/locally/)
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
future
==
0.17.1
\
Pillow
==
5.4.1
\
torch
==
1.1.0
\
torchvision
==
0.2.2.post3
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
onnx
==
1.3.0
\
onnx-tf
==
1.2.0
RUN
pip
install
-i
http://mirrors.aliyun.com/pypi/simple/
--trusted-host
mirrors.aliyun.com
\
cpplint
==
1.4.4
docs/Makefile
浏览文件 @
f2601030
...
@@ -17,4 +17,5 @@ help:
...
@@ -17,4 +17,5 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%
:
Makefile
%
:
Makefile
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
pyenv
local
3.6.3
\ No newline at end of file
@
$(SPHINXBUILD)
-M
$@
"
$(SOURCEDIR)
"
"
$(BUILDDIR)
"
$(SPHINXOPTS)
$(O)
tools/device.py
浏览文件 @
f2601030
...
@@ -244,8 +244,6 @@ class DeviceWrapper:
...
@@ -244,8 +244,6 @@ class DeviceWrapper:
stderr
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
)
stdout
=
subprocess
.
PIPE
)
out
,
err
=
p
.
communicate
()
out
,
err
=
p
.
communicate
()
out
=
str
(
out
,
encoding
=
'utf-8'
)
err
=
str
(
err
,
encoding
=
'utf-8'
)
self
.
stdout
=
err
+
out
self
.
stdout
=
err
+
out
six
.
print_
(
self
.
stdout
)
six
.
print_
(
self
.
stdout
)
six
.
print_
(
"Running finished!
\n
"
)
six
.
print_
(
"Running finished!
\n
"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录