From 1a9b3d2686fda30280e488abd57f2c2b4d39b88c Mon Sep 17 00:00:00 2001 From: yejianwu Date: Wed, 24 Jan 2018 16:14:22 +0800 Subject: [PATCH] download lib from fds, and generate merged static lib when use validate_model.sh --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 416404f2..4020cf46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -107,9 +107,11 @@ RUN apt-get install -y --no-install-recommends \ android-tools-adb # Install tools -RUN pip install tensorflow==1.4.0 && \ +RUN pip install setuptools && \ + pip install tensorflow==1.4.0 && \ pip install scipy && \ pip install jinja2 # Download tensorflow tools -RUN wget http://cnbj1-inner-fds.api.xiaomi.net/mace/tool/transform_graph +RUN wget http://cnbj1-inner-fds.api.xiaomi.net/mace/tool/transform_graph && \ + chmod +x transform_graph -- GitLab