TensorSpace Converter
1.简介
- TensorSpace-Converter 是 TensorSpace 预处理工具,提供对预训练的 TensorFlow、Keras、TensorFlow.js 模型开箱即用的支持。
- 在使用 TensorSpace-Converter 对预训练模型进行预处理的过程中,TensorSpace-Converter 将提取出模型中隐藏层的数据、并生成一个新的模型,新的模型可以被 TensorSpace 载入并3D可视化。
- TensorSpace-Converter 简化了 TensorSpace 的使用,降低了 TensorSpace 的学习曲线。
- 作为 TensorSpace 的生态组件,TensorSpace-Converter 简化了 TensorSpace 的开发过程,降低了 TensorSpace 学习曲线。
- 作为可视化应用开发工具,TensorSpace-Converter 有助于分离 后端模型训练 与 前端模型可视化 的工作。
2.安装方式一
pip下载
- 通过 pip 下载 tensorspacejs 包:
pip install tensorspacejs
- 如果成功下载了 tensorspacejs 包,可以查看下载的 TensorSpace-Converter 版本:
tensorspacejs_converter -v
- 然后初始化 TensorSpace Converter (这步很重要,也是出错的一步):
tensorspacejs_converter -init
3.安装方式二
使用Docker
TensorSpace-Converter 提供了一个 Dockerfile,我们可以通过它快速创建一个开箱即用的 TensorSpace-Converter 镜像。为了让这个 tensorspacejs 镜像更易用,TensorSpace提供了脚本来创建 (init_docker_converter.sh) 与 运行 (run_docker_converter.sh) 它。
- 第一步:创建
创建一个 tensorspacejs Docker 镜像 (确保在初始化镜像前已经启动了 Docker):
bash init_docker_converter.sh
- 第二步:运行
将 TensorSpace-Converter 脚本和模型文件都放在一个工作目录 (WORK_DIR) 下,然后执行 run_docker_converter.sh 脚本来运行 tensorspacejs 镜像:
bash run_docker_converter.sh --work_dir ./PATH/TO/WORK/DIRECTORY
⭐TensorSpace官网给出的Dockerfile版本太过陈旧,直接拿来运行会报一堆错,自己动手修改后的Dockerfile为:
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get -y install sudo
RUN sudo apt-get -y install \
curl \
python-software-properties \
# Must have this line for "add-apt-repository" to work
software-properties-common
# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
RUN sudo apt-get install -y nodejs
RUN npm install npm@latest
# install python
RUN sudo add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update
RUN sudo apt-get -y install python3.6
RUN sudo apt-get -y install python3-pip
# install tensorspacejs
RUN python3.6 -m pip install --upgrade setuptools
RUN python3.6 -m pip install --upgrade pip
RUN python3.6 -m pip install tensorspacejs
RUN echo "alias python=python3.6" >> ~/.bash_aliases
RUN . ~/.bash_aliases
# initalize tensorspacejs
#RUN tensorspacejs_converter -init
WORKDIR /data
CMD ["bash", "/data/converter.sh"]
4.实验过程中遇到的问题
- 使用Docker的过程中,第一步使用修改后的Dockerfile文件创建镜像没有问题。
$ bash init_docker_converter.sh
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 963B done
#2 DONE 0.0s
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#3 [internal] load metadata for docker.io/library/ubuntu:16.04
#3 DONE 0.5s
#4 [1/16] FROM docker.io/library/ubuntu:16.04@sha256:3355b6e4ba1b12071ba5fe...
#4 DONE 0.0s
#8 [5/16] RUN sudo apt-get install -y nodejs
#8 CACHED
#5 [2/16] RUN apt-get update && apt-get -y install sudo
#5 CACHED
#6 [3/16] RUN sudo apt-get -y install curl python-software-properti...
#6 CACHED
#7 [4/16] RUN curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash...
#7 CACHED
#9 [6/16] RUN npm install npm@latest
#9 CACHED
#10 [7/16] RUN sudo add-apt-repository ppa:deadsnakes/ppa
#10 1.712 This PPA contains more recent Python versions packaged for Ubuntu.
#10 1.712
#10 1.712 Disclaimer: there's no guarantee of timely updates in case of security problems or other issues. If you want to use them in a security-or-otherwise-critical environment (say, on a production server), you do so at your own risk.
#10 1.712
#10 1.712 Update Note
#10 1.712 ===========
#10 1.712 Please use this repository instead of ppa:fkrull/deadsnakes.
#10 1.712
#10 1.712 Reporting Issues
#10 1.712 ================
#10 1.712
#10 1.712 Issues can be reported in the master issue tracker at:
#10 1.712 https://github.com/deadsnakes/issues/issues
#10 1.712
#10 1.712 Supported Ubuntu and Python Versions
#10 1.712 ====================================
#10 1.712
#10 1.712 - Ubuntu 16.04 (xenial) Python 2.3 - Python 2.6, Python 3.1 - Python3.4, Python 3.6 - Python3.9
#10 1.712 - Ubuntu 18.04 (bionic) Python2.3 - Python 2.6, Python 3.1 - Python 3.5, Python3.7 - Python3.9
#10 1.712 - Ubuntu 20.04 (focal) Python3.5 - Python3.7, Python3.9
#10 1.712 - Note: Python2.7 (all), Python 3.5 (xenial), Python 3.6 (bionic), Python 3.8 (focal) are not provided by deadsnakes as upstream ubuntu provides those packages.
#10 1.712 - Note: for focal, older python versions require libssl1.0.x so they are not currently built
#10 1.712
#10 1.712 The packages may also work on other versions of Ubuntu or Debian, but that is not tested or supported.
#10 1.712
#10 1.712 Packages
#10 1.712 ========
#10 1.712
#10 1.712 The packages provided here are loosely based on the debian upstream packages with some modifications to make them more usable as non-default pythons and on ubuntu. As such, the packages follow debian's patterns and often do not include a full python distribution with just `apt install python#.#`. Here is a list of packages that may be useful along with the default install:
#10 1.712
#10 1.712 - `python#.#-dev`: includes development headers for building C extensions
#10 1.712 - `python#.#-venv`: provides the standard library `venv` module
#10 1.712 - `python#.#-distutils`: provides the standard library `distutils` module
#10 1.712 - `python#.#-lib2to3`: provides the `2to3-#.#` utility as well as the standard library `lib2to3` module
#10 1.712 - `python#.#-gdbm`: provides the standard library `dbm.gnu` module
#10 1.712 - `python#.#-tk`: provides the standard library `tkinter` module
#10 1.712
#10 1.712 Third-Party Python Modules
#10 1.712 ==========================
#10 1.712
#10 1.712 Python modules in the official Ubuntu repositories are packaged to work with the Python interpreters from the official repositories. Accordingly, they generally won't work with the Python interpreters from this PPA. As an exception, pure-Python modules for Python 3 will work, but any compiled extension modules won't.
#10 1.712
#10 1.712 To install 3rd-party Python modules, you should use the common Python packaging tools. For an introduction into the Python packaging ecosystem and its tools, refer to the Python Packaging User Guide:
#10 1.712 https://packaging.python.org/installing/
#10 1.712
#10 1.712 Sources
#10 1.712 =======
#10 1.712 The package sources are available at:
#10 1.712 https://github.com/deadsnakes/
#10 1.712
#10 1.712 Nightly Builds
#10 1.712 ==============
#10 1.712
#10 1.712 For nightly builds, see ppa:deadsnakes/nightly https://launchpad.net/~deadsnakes/+archive/ubuntu/nightly
#10 1.712 More info: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
#10 2.933 gpg: keyring `/tmp/tmpu0jamvwq/secring.gpg' created
#10 2.933 gpg: keyring `/tmp/tmpu0jamvwq/pubring.gpg' created
#10 2.934 gpg: requesting key 6A755776 from hkp server keyserver.ubuntu.com
#10 3.516 gpg: /tmp/tmpu0jamvwq/trustdb.gpg: trustdb created
#10 3.516 gpg: key 6A755776: public key "Launchpad PPA for deadsnakes" imported
#10 3.516 gpg: Total number processed: 1
#10 3.516 gpg: imported: 1 (RSA: 1)
#10 3.605 OK
#10 DONE 3.6s
#11 [8/16] RUN apt-get update
#11 1.051 Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
#11 1.128 Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
#11 1.128 Get:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease [18.1 kB]
#11 1.372 Hit:4 https://deb.nodesource.com/node_11.x xenial InRelease
#11 1.405 Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
#11 2.038 Get:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial/main amd64 Packages [41.6 kB]
#11 2.448 Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
#11 2.925 Fetched 385 kB in 2s (161 kB/s)
#11 2.925 Reading package lists...
#11 DONE 3.8s
#12 [9/16] RUN sudo apt-get -y install python3.6
#12 0.372 Reading package lists...
#12 1.148 Building dependency tree...
#12 1.277 Reading state information...
#12 1.365 The following additional packages will be installed:
#12 1.365 libpython3.6-minimal libpython3.6-stdlib python3.6-minimal
#12 1.366 Suggested packages:
#12 1.366 python3.6-venv python3.6-doc binutils binfmt-support
#12 1.368 The following NEW packages will be installed:
#12 1.368 libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-minimal
#12 1.980 0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
#12 1.980 Need to get 4759 kB of archives.
#12 1.980 After this operation, 24.3 MB of additional disk space will be used.
#12 1.980 Get:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial/main amd64 libpython3.6-minimal amd64 3.6.13-1+xenial2 [580 kB]
#12 5.496 Get:2 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial/main amd64 python3.6-minimal amd64 3.6.13-1+xenial2 [1713 kB]
#12 8.459 Get:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial/main amd64 libpython3.6-stdlib amd64 3.6.13-1+xenial2 [2219 kB]
#12 11.18 Get:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial/main amd64 python3.6 amd64 3.6.13-1+xenial2 [248 kB]
#12 12.76 debconf: delaying package configuration, since apt-utils is not installed
#12 12.79 Fetched 4759 kB in 11s (424 kB/s)
#12 12.84 Selecting previously unselected package libpython3.6-minimal:amd64.
(Reading database ... 12998 files and directories currently installed.)
#12 12.89 Preparing to unpack .../libpython3.6-minimal_3.6.13-1+xenial2_amd64.deb ...
#12 12.90 Unpacking libpython3.6-minimal:amd64 (3.6.13-1+xenial2) ...
#12 13.02 Selecting previously unselected package python3.6-minimal.
#12 13.02 Preparing to unpack .../python3.6-minimal_3.6.13-1+xenial2_amd64.deb ...
#12 13.03 Unpacking python3.6-minimal (3.6.13-1+xenial2) ...
#12 13.23 Selecting previously unselected package libpython3.6-stdlib:amd64.
#12 13.23 Preparing to unpack .../libpython3.6-stdlib_3.6.13-1+xenial2_amd64.deb ...
#12 13.24 Unpacking libpython3.6-stdlib:amd64 (3.6.13-1+xenial2) ...
#12 13.50 Selecting previously unselected package python3.6.
#12 13.50 Preparing to unpack .../python3.6_3.6.13-1+xenial2_amd64.deb ...
#12 13.51 Unpacking python3.6 (3.6.13-1+xenial2) ...
#12 13.55 Processing triggers for mime-support (3.59ubuntu1) ...
#12 13.61 Setting up libpython3.6-minimal:amd64 (3.6.13-1+xenial2) ...
#12 13.64 Setting up python3.6-minimal (3.6.13-1+xenial2) ...
#12 14.11 Setting up libpython3.6-stdlib:amd64 (3.6.13-1+xenial2) ...
#12 14.13 Setting up python3.6 (3.6.13-1+xenial2) ...
#12 DONE 15.1s
#13 [10/16] RUN sudo apt-get -y install python3-pip
#13 0.426 Reading package lists...
#13 1.193 Building dependency tree...
#13 1.327 Reading state information...
#13 1.445 The following additional packages will be installed:
#13 1.445 binutils build-essential bzip2 cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc
#13 1.445 gcc-5 ifupdown iproute2 isc-dhcp-client isc-dhcp-common
#13 1.445 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
#13 1.445 libasan2 libatm1 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
#13 1.445 libdns-export162 libdpkg-perl libexpat1-dev libfakeroot
#13 1.445 libfile-fcntllock-perl libgcc-5-dev libgdbm3 libgomp1 libisc-export160
#13 1.445 libisl15 libitm1 liblsan0 libmnl0 libmpc3 libmpfr4 libmpx0 libperl5.22
#13 1.445 libpython3-dev libpython3.5 libpython3.5-dev libquadmath0 libstdc++-5-dev
#13 1.446 libtsan0 libubsan0 libxtables11 linux-libc-dev make manpages manpages-dev
#13 1.446 netbase patch perl perl-modules-5.22 python-pip-whl python3-dev
#13 1.447 python3-pkg-resources python3-setuptools python3-wheel python3.5-dev rename
#13 1.449 Suggested packages:
#13 1.449 binutils-doc bzip2-doc cpp-doc gcc-5-locales debian-keyring g++-multilib
#13 1.449 g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake
#13 1.449 libtool flex bison gdb gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg
#13 1.449 libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg
#13 1.449 libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg ppp rdnssd
#13 1.449 iproute2-doc resolvconf avahi-autoipd isc-dhcp-client-ddns apparmor
#13 1.449 glibc-doc libstdc++-5-doc make-doc man-browser ed diffutils-doc perl-doc
#13 1.449 libterm-readline-gnu-perl | libterm-readline-perl-perl python-setuptools-doc
#13 1.451 The following NEW packages will be installed:
#13 1.451 binutils build-essential bzip2 cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc
#13 1.451 gcc-5 ifupdown iproute2 isc-dhcp-client isc-dhcp-common
#13 1.451 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
#13 1.451 libasan2 libatm1 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5
#13 1.451 libdns-export162 libdpkg-perl libexpat1-dev libfakeroot
#13 1.451 libfile-fcntllock-perl libgcc-5-dev libgdbm3 libgomp1 libisc-export160
#13 1.451 libisl15 libitm1 liblsan0 libmnl0 libmpc3 libmpfr4 libmpx0 libperl5.22
#13 1.451 libpython3-dev libpython3.5 libpython3.5-dev libquadmath0 libstdc++-5-dev
#13 1.452 libtsan0 libubsan0 libxtables11 linux-libc-dev make manpages manpages-dev
#13 1.452 netbase patch perl perl-modules-5.22 python-pip-whl python3-dev python3-pip
#13 1.452 python3-pkg-resources python3-setuptools python3-wheel python3.5-dev rename
#13 2.132 0 upgraded, 66 newly installed, 0 to remove and 3 not upgraded.
#13 2.132 Need to get 88.7 MB of archives.
#13 2.132 After this operation, 253 MB of additional disk space will be used.
#13 2.132 Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libatm1 amd64 1:2.5.1-1.5 [24.2 kB]
#13 2.698 Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmnl0 amd64 1.0.3-5 [12.0 kB]
#13 2.720 Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgdbm3 amd64 1.8.3-13.1 [16.9 kB]
#13 2.721 Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 perl-modules-5.22 all 5.22.1-9ubuntu0.9 [2634 kB]
#13 14.92 Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libperl5.22 amd64 5.22.1-9ubuntu0.9 [3360 kB]
#13 31.08 Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 perl amd64 5.22.1-9ubuntu0.9 [237 kB]
#13 32.80 Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpfr4 amd64 3.1.4-1 [191 kB]
#13 33.87 Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
#13 34.16 Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 bzip2 amd64 1.0.6-8ubuntu0.2 [32.5 kB]
#13 34.57 Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 iproute2 amd64 4.3.0-1ubuntu3.16.04.5 [523 kB]
#13 37.84 Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ifupdown amd64 0.8.10ubuntu1.4 [54.9 kB]
#13 38.41 Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libisc-export160 amd64 1:9.10.3.dfsg.P4-8ubuntu1.18 [153 kB]
#13 39.38 Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdns-export162 amd64 1:9.10.3.dfsg.P4-8ubuntu1.18 [666 kB]
#13 42.72 Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-client amd64 4.3.3-5ubuntu12.10 [224 kB]
#13 44.25 Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 isc-dhcp-common amd64 4.3.3-5ubuntu12.10 [105 kB]
#13 44.95 Get:16 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxtables11 amd64 1.6.0-2ubuntu3 [27.2 kB]
#13 45.32 Get:17 http://archive.ubuntu.com/ubuntu xenial/main amd64 netbase all 5.3 [12.9 kB]
#13 45.64 Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 manpages all 4.04-2 [1087 kB]
#13 51.21 Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 2.26.1-1ubuntu1~16.04.8 [2312 kB]
#13 62.74 Get:20 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc-dev-bin amd64 2.23-0ubuntu11.2 [68.8 kB]
#13 63.66 Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-libc-dev amd64 4.4.0-206.238 [836 kB]
#13 67.90 Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libc6-dev amd64 2.23-0ubuntu11.2 [2083 kB]
#13 78.57 Get:23 http://archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
#13 83.14 Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.12 [7783 kB]
#13 123.2 Get:25 http://archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
#13 123.5 Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.12 [38.8 kB]
#13 123.9 Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.12 [55.2 kB]
#13 124.4 Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.12 [27.4 kB]
#13 124.7 Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.12 [8892 B]
#13 125.0 Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.12 [265 kB]
#13 126.4 Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.12 [105 kB]
#13 127.1 Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.12 [244 kB]
#13 128.4 Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.12 [95.3 kB]
#13 129.1 Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.12 [40.0 kB]
#13 129.5 Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.12 [9762 B]
#13 129.8 Get:36 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.12 [131 kB]
#13 137.6 Get:37 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [2239 kB]
#13 142.7 Get:38 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.12 [8612 kB]
#13 147.3 Get:39 http://archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5244 B]
#13 147.5 Get:40 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.12 [1428 kB]
#13 148.3 Get:41 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.12 [8430 kB]
#13 151.8 Get:42 http://archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1504 B]
#13 152.1 Get:43 http://archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
#13 152.5 Get:44 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.6 [195 kB]
#13 152.8 Get:45 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 patch amd64 2.7.5-1ubuntu0.16.04.2 [90.8 kB]
#13 153.1 Get:46 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.6 [584 kB]
#13 153.5 Get:47 http://archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4758 B]
#13 153.8 Get:48 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
#13 154.1 Get:49 http://archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
#13 154.4 Get:50 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
#13 154.7 Get:51 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
#13 155.0 Get:52 http://archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
#13 155.3 Get:53 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libexpat1-dev amd64 2.1.0-7ubuntu0.16.04.5 [115 kB]
#13 155.6 Get:54 http://archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
#13 155.9 Get:55 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5 amd64 3.5.2-2ubuntu0~16.04.13 [1360 kB]
#13 156.5 Get:56 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython3.5-dev amd64 3.5.2-2ubuntu0~16.04.13 [37.3 MB]
#13 162.7 Get:57 http://archive.ubuntu.com/ubuntu xenial/main amd64 libpython3-dev amd64 3.5.1-3 [6926 B]
#13 163.0 Get:58 http://archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2048 kB]
#13 163.5 Get:59 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.6 [1112 kB]
#13 163.9 Get:60 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3.5-dev amd64 3.5.2-2ubuntu0~16.04.13 [413 kB]
#13 164.3 Get:61 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-dev amd64 3.5.1-3 [1186 B]
#13 164.6 Get:62 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-pip all 8.1.1-2ubuntu0.6 [109 kB]
#13 164.9 Get:63 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-pkg-resources all 20.7.0-1 [79.0 kB]
#13 165.2 Get:64 http://archive.ubuntu.com/ubuntu xenial/main amd64 python3-setuptools all 20.7.0-1 [88.0 kB]
#13 165.5 Get:65 http://archive.ubuntu.com/ubuntu xenial/universe amd64 python3-wheel all 0.29.0-1 [48.1 kB]
#13 165.8 Get:66 http://archive.ubuntu.com/ubuntu xenial/main amd64 rename all 0.20-4 [12.0 kB]
#13 165.9 debconf: delaying package configuration, since apt-utils is not installed
#13 165.9 Fetched 88.7 MB in 2min 44s (540 kB/s)
#13 165.9 Selecting previously unselected package libatm1:amd64.
(Reading database ... 13832 files and directories currently installed.)
#13 165.9 Preparing to unpack .../libatm1_1%3a2.5.1-1.5_amd64.deb ...
#13 166.0 Unpacking libatm1:amd64 (1:2.5.1-1.5) ...
#13 166.0 Selecting previously unselected package libmnl0:amd64.
#13 166.0 Preparing to unpack .../libmnl0_1.0.3-5_amd64.deb ...
#13 166.0 Unpacking libmnl0:amd64 (1.0.3-5) ...
#13 166.1 Selecting previously unselected package libgdbm3:amd64.
#13 166.1 Preparing to unpack .../libgdbm3_1.8.3-13.1_amd64.deb ...
#13 166.1 Unpacking libgdbm3:amd64 (1.8.3-13.1) ...
#13 166.1 Selecting previously unselected package perl-modules-5.22.
#13 166.1 Preparing to unpack .../perl-modules-5.22_5.22.1-9ubuntu0.9_all.deb ...
#13 166.1 Unpacking perl-modules-5.22 (5.22.1-9ubuntu0.9) ...
#13 166.5 Selecting previously unselected package libperl5.22:amd64.
#13 166.5 Preparing to unpack .../libperl5.22_5.22.1-9ubuntu0.9_amd64.deb ...
#13 166.5 Unpacking libperl5.22:amd64 (5.22.1-9ubuntu0.9) ...
#13 166.9 Selecting previously unselected package perl.
#13 166.9 Preparing to unpack .../perl_5.22.1-9ubuntu0.9_amd64.deb ...
#13 167.0 Unpacking perl (5.22.1-9ubuntu0.9) ...
#13 167.0 Selecting previously unselected package libmpfr4:amd64.
#13 167.0 Preparing to unpack .../libmpfr4_3.1.4-1_amd64.deb ...
#13 167.1 Unpacking libmpfr4:amd64 (3.1.4-1) ...
#13 167.1 Selecting previously unselected package libmpc3:amd64.
#13 167.1 Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
#13 167.1 Unpacking libmpc3:amd64 (1.0.3-1) ...
#13 167.2 Selecting previously unselected package bzip2.
#13 167.2 Preparing to unpack .../bzip2_1.0.6-8ubuntu0.2_amd64.deb ...
#13 167.2 Unpacking bzip2 (1.0.6-8ubuntu0.2) ...
#13 167.3 Selecting previously unselected package iproute2.
#13 167.3 Preparing to unpack .../iproute2_4.3.0-1ubuntu3.16.04.5_amd64.deb ...
#13 167.3 Unpacking iproute2 (4.3.0-1ubuntu3.16.04.5) ...
#13 167.4 Selecting previously unselected package ifupdown.
#13 167.4 Preparing to unpack .../ifupdown_0.8.10ubuntu1.4_amd64.deb ...
#13 167.4 Unpacking ifupdown (0.8.10ubuntu1.4) ...
#13 167.5 Selecting previously unselected package libisc-export160.
#13 167.5 Preparing to unpack .../libisc-export160_1%3a9.10.3.dfsg.P4-8ubuntu1.18_amd64.deb ...
#13 167.5 Unpacking libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.18) ...
#13 167.5 Selecting previously unselected package libdns-export162.
#13 167.5 Preparing to unpack .../libdns-export162_1%3a9.10.3.dfsg.P4-8ubuntu1.18_amd64.deb ...
#13 167.6 Unpacking libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.18) ...
#13 167.7 Selecting previously unselected package isc-dhcp-client.
#13 167.7 Preparing to unpack .../isc-dhcp-client_4.3.3-5ubuntu12.10_amd64.deb ...
#13 167.7 Unpacking isc-dhcp-client (4.3.3-5ubuntu12.10) ...
#13 167.8 Selecting previously unselected package isc-dhcp-common.
#13 167.8 Preparing to unpack .../isc-dhcp-common_4.3.3-5ubuntu12.10_amd64.deb ...
#13 167.8 Unpacking isc-dhcp-common (4.3.3-5ubuntu12.10) ...
#13 167.8 Selecting previously unselected package libxtables11:amd64.
#13 167.8 Preparing to unpack .../libxtables11_1.6.0-2ubuntu3_amd64.deb ...
#13 167.8 Unpacking libxtables11:amd64 (1.6.0-2ubuntu3) ...
#13 167.9 Selecting previously unselected package netbase.
#13 167.9 Preparing to unpack .../archives/netbase_5.3_all.deb ...
#13 167.9 Unpacking netbase (5.3) ...
#13 167.9 Selecting previously unselected package manpages.
#13 167.9 Preparing to unpack .../manpages_4.04-2_all.deb ...
#13 167.9 Unpacking manpages (4.04-2) ...
#13 168.1 Selecting previously unselected package binutils.
#13 168.1 Preparing to unpack .../binutils_2.26.1-1ubuntu1~16.04.8_amd64.deb ...
#13 168.1 Unpacking binutils (2.26.1-1ubuntu1~16.04.8) ...
#13 168.4 Selecting previously unselected package libc-dev-bin.
#13 168.4 Preparing to unpack .../libc-dev-bin_2.23-0ubuntu11.2_amd64.deb ...
#13 168.4 Unpacking libc-dev-bin (2.23-0ubuntu11.2) ...
#13 168.4 Selecting previously unselected package linux-libc-dev:amd64.
#13 168.4 Preparing to unpack .../linux-libc-dev_4.4.0-206.238_amd64.deb ...
#13 168.4 Unpacking linux-libc-dev:amd64 (4.4.0-206.238) ...
#13 168.6 Selecting previously unselected package libc6-dev:amd64.
#13 168.6 Preparing to unpack .../libc6-dev_2.23-0ubuntu11.2_amd64.deb ...
#13 168.6 Unpacking libc6-dev:amd64 (2.23-0ubuntu11.2) ...
#13 168.9 Selecting previously unselected package libisl15:amd64.
#13 168.9 Preparing to unpack .../libisl15_0.16.1-1_amd64.deb ...
#13 168.9 Unpacking libisl15:amd64 (0.16.1-1) ...
#13 169.0 Selecting previously unselected package cpp-5.
#13 169.0 Preparing to unpack .../cpp-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 169.0 Unpacking cpp-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 169.7 Selecting previously unselected package cpp.
#13 169.7 Preparing to unpack .../cpp_4%3a5.3.1-1ubuntu1_amd64.deb ...
#13 169.7 Unpacking cpp (4:5.3.1-1ubuntu1) ...
#13 169.8 Selecting previously unselected package libcc1-0:amd64.
#13 169.8 Preparing to unpack .../libcc1-0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 169.8 Unpacking libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 169.9 Selecting previously unselected package libgomp1:amd64.
#13 169.9 Preparing to unpack .../libgomp1_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 169.9 Unpacking libgomp1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 169.9 Selecting previously unselected package libitm1:amd64.
#13 169.9 Preparing to unpack .../libitm1_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 169.9 Unpacking libitm1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.0 Selecting previously unselected package libatomic1:amd64.
#13 170.0 Preparing to unpack .../libatomic1_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.0 Unpacking libatomic1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.1 Selecting previously unselected package libasan2:amd64.
#13 170.1 Preparing to unpack .../libasan2_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.1 Unpacking libasan2:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.1 Selecting previously unselected package liblsan0:amd64.
#13 170.1 Preparing to unpack .../liblsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.1 Unpacking liblsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.2 Selecting previously unselected package libtsan0:amd64.
#13 170.2 Preparing to unpack .../libtsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.2 Unpacking libtsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.3 Selecting previously unselected package libubsan0:amd64.
#13 170.3 Preparing to unpack .../libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.3 Unpacking libubsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.4 Selecting previously unselected package libcilkrts5:amd64.
#13 170.4 Preparing to unpack .../libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.4 Unpacking libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.4 Selecting previously unselected package libmpx0:amd64.
#13 170.4 Preparing to unpack .../libmpx0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.4 Unpacking libmpx0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.5 Selecting previously unselected package libquadmath0:amd64.
#13 170.5 Preparing to unpack .../libquadmath0_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.5 Unpacking libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.5 Selecting previously unselected package libgcc-5-dev:amd64.
#13 170.5 Preparing to unpack .../libgcc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.6 Unpacking libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 170.8 Selecting previously unselected package gcc-5.
#13 170.8 Preparing to unpack .../gcc-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 170.8 Unpacking gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 171.5 Selecting previously unselected package gcc.
#13 171.5 Preparing to unpack .../gcc_4%3a5.3.1-1ubuntu1_amd64.deb ...
#13 171.6 Unpacking gcc (4:5.3.1-1ubuntu1) ...
#13 171.6 Selecting previously unselected package libstdc++-5-dev:amd64.
#13 171.6 Preparing to unpack .../libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 171.6 Unpacking libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 171.9 Selecting previously unselected package g++-5.
#13 171.9 Preparing to unpack .../g++-5_5.4.0-6ubuntu1~16.04.12_amd64.deb ...
#13 171.9 Unpacking g++-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 172.7 Selecting previously unselected package g++.
#13 172.7 Preparing to unpack .../g++_4%3a5.3.1-1ubuntu1_amd64.deb ...
#13 172.7 Unpacking g++ (4:5.3.1-1ubuntu1) ...
#13 172.8 Selecting previously unselected package make.
#13 172.8 Preparing to unpack .../archives/make_4.1-6_amd64.deb ...
#13 172.8 Unpacking make (4.1-6) ...
#13 172.9 Selecting previously unselected package libdpkg-perl.
#13 172.9 Preparing to unpack .../libdpkg-perl_1.18.4ubuntu1.6_all.deb ...
#13 172.9 Unpacking libdpkg-perl (1.18.4ubuntu1.6) ...
#13 172.9 Selecting previously unselected package patch.
#13 172.9 Preparing to unpack .../patch_2.7.5-1ubuntu0.16.04.2_amd64.deb ...
#13 172.9 Unpacking patch (2.7.5-1ubuntu0.16.04.2) ...
#13 173.0 Selecting previously unselected package dpkg-dev.
#13 173.0 Preparing to unpack .../dpkg-dev_1.18.4ubuntu1.6_all.deb ...
#13 173.0 Unpacking dpkg-dev (1.18.4ubuntu1.6) ...
#13 173.1 Selecting previously unselected package build-essential.
#13 173.1 Preparing to unpack .../build-essential_12.1ubuntu2_amd64.deb ...
#13 173.1 Unpacking build-essential (12.1ubuntu2) ...
#13 173.2 Selecting previously unselected package libfakeroot:amd64.
#13 173.2 Preparing to unpack .../libfakeroot_1.20.2-1ubuntu1_amd64.deb ...
#13 173.2 Unpacking libfakeroot:amd64 (1.20.2-1ubuntu1) ...
#13 173.2 Selecting previously unselected package fakeroot.
#13 173.2 Preparing to unpack .../fakeroot_1.20.2-1ubuntu1_amd64.deb ...
#13 173.2 Unpacking fakeroot (1.20.2-1ubuntu1) ...
#13 173.3 Selecting previously unselected package libalgorithm-diff-perl.
#13 173.3 Preparing to unpack .../libalgorithm-diff-perl_1.19.03-1_all.deb ...
#13 173.3 Unpacking libalgorithm-diff-perl (1.19.03-1) ...
#13 173.3 Selecting previously unselected package libalgorithm-diff-xs-perl.
#13 173.3 Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-4build1_amd64.deb ...
#13 173.4 Unpacking libalgorithm-diff-xs-perl (0.04-4build1) ...
#13 173.4 Selecting previously unselected package libalgorithm-merge-perl.
#13 173.4 Preparing to unpack .../libalgorithm-merge-perl_0.08-3_all.deb ...
#13 173.4 Unpacking libalgorithm-merge-perl (0.08-3) ...
#13 173.5 Selecting previously unselected package libexpat1-dev:amd64.
#13 173.5 Preparing to unpack .../libexpat1-dev_2.1.0-7ubuntu0.16.04.5_amd64.deb ...
#13 173.5 Unpacking libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
#13 173.5 Selecting previously unselected package libfile-fcntllock-perl.
#13 173.5 Preparing to unpack .../libfile-fcntllock-perl_0.22-3_amd64.deb ...
#13 173.5 Unpacking libfile-fcntllock-perl (0.22-3) ...
#13 173.6 Selecting previously unselected package libpython3.5:amd64.
#13 173.6 Preparing to unpack .../libpython3.5_3.5.2-2ubuntu0~16.04.13_amd64.deb ...
#13 173.6 Unpacking libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.13) ...
#13 173.8 Selecting previously unselected package libpython3.5-dev:amd64.
#13 173.8 Preparing to unpack .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.13_amd64.deb ...
#13 173.8 Unpacking libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.13) ...
#13 176.3 Selecting previously unselected package libpython3-dev:amd64.
#13 176.3 Preparing to unpack .../libpython3-dev_3.5.1-3_amd64.deb ...
#13 176.3 Unpacking libpython3-dev:amd64 (3.5.1-3) ...
#13 176.4 Selecting previously unselected package manpages-dev.
#13 176.4 Preparing to unpack .../manpages-dev_4.04-2_all.deb ...
#13 176.4 Unpacking manpages-dev (4.04-2) ...
#13 176.7 Selecting previously unselected package python-pip-whl.
#13 176.7 Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.6_all.deb ...
#13 176.7 Unpacking python-pip-whl (8.1.1-2ubuntu0.6) ...
#13 176.8 Selecting previously unselected package python3.5-dev.
#13 176.8 Preparing to unpack .../python3.5-dev_3.5.2-2ubuntu0~16.04.13_amd64.deb ...
#13 176.8 Unpacking python3.5-dev (3.5.2-2ubuntu0~16.04.13) ...
#13 176.9 Selecting previously unselected package python3-dev.
#13 176.9 Preparing to unpack .../python3-dev_3.5.1-3_amd64.deb ...
#13 176.9 Unpacking python3-dev (3.5.1-3) ...
#13 176.9 Selecting previously unselected package python3-pip.
#13 176.9 Preparing to unpack .../python3-pip_8.1.1-2ubuntu0.6_all.deb ...
#13 177.0 Unpacking python3-pip (8.1.1-2ubuntu0.6) ...
#13 177.0 Selecting previously unselected package python3-pkg-resources.
#13 177.0 Preparing to unpack .../python3-pkg-resources_20.7.0-1_all.deb ...
#13 177.0 Unpacking python3-pkg-resources (20.7.0-1) ...
#13 177.1 Selecting previously unselected package python3-setuptools.
#13 177.1 Preparing to unpack .../python3-setuptools_20.7.0-1_all.deb ...
#13 177.1 Unpacking python3-setuptools (20.7.0-1) ...
#13 177.2 Selecting previously unselected package python3-wheel.
#13 177.2 Preparing to unpack .../python3-wheel_0.29.0-1_all.deb ...
#13 177.2 Unpacking python3-wheel (0.29.0-1) ...
#13 177.2 Selecting previously unselected package rename.
#13 177.2 Preparing to unpack .../archives/rename_0.20-4_all.deb ...
#13 177.2 Unpacking rename (0.20-4) ...
#13 177.3 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#13 177.3 Processing triggers for systemd (229-4ubuntu21.29) ...
#13 177.3 Setting up libatm1:amd64 (1:2.5.1-1.5) ...
#13 177.4 Setting up libmnl0:amd64 (1.0.3-5) ...
#13 177.4 Setting up libgdbm3:amd64 (1.8.3-13.1) ...
#13 177.4 Setting up perl-modules-5.22 (5.22.1-9ubuntu0.9) ...
#13 177.5 Setting up libperl5.22:amd64 (5.22.1-9ubuntu0.9) ...
#13 177.5 Setting up perl (5.22.1-9ubuntu0.9) ...
#13 177.5 update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
#13 177.5 Setting up libmpfr4:amd64 (3.1.4-1) ...
#13 177.6 Setting up libmpc3:amd64 (1.0.3-1) ...
#13 177.6 Setting up bzip2 (1.0.6-8ubuntu0.2) ...
#13 177.6 Setting up iproute2 (4.3.0-1ubuntu3.16.04.5) ...
#13 177.7 Setting up ifupdown (0.8.10ubuntu1.4) ...
#13 177.8 Creating /etc/network/interfaces.
#13 178.0 Setting up libisc-export160 (1:9.10.3.dfsg.P4-8ubuntu1.18) ...
#13 178.0 Setting up libdns-export162 (1:9.10.3.dfsg.P4-8ubuntu1.18) ...
#13 178.0 Setting up isc-dhcp-client (4.3.3-5ubuntu12.10) ...
#13 178.1 Setting up isc-dhcp-common (4.3.3-5ubuntu12.10) ...
#13 178.1 Setting up libxtables11:amd64 (1.6.0-2ubuntu3) ...
#13 178.2 Setting up netbase (5.3) ...
#13 178.2 Setting up manpages (4.04-2) ...
#13 178.2 Setting up binutils (2.26.1-1ubuntu1~16.04.8) ...
#13 178.2 Setting up libc-dev-bin (2.23-0ubuntu11.2) ...
#13 178.3 Setting up linux-libc-dev:amd64 (4.4.0-206.238) ...
#13 178.3 Setting up libc6-dev:amd64 (2.23-0ubuntu11.2) ...
#13 178.3 Setting up libisl15:amd64 (0.16.1-1) ...
#13 178.3 Setting up cpp-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.4 Setting up cpp (4:5.3.1-1ubuntu1) ...
#13 178.4 Setting up libcc1-0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.4 Setting up libgomp1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.4 Setting up libitm1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.4 Setting up libatomic1:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.5 Setting up libasan2:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.5 Setting up liblsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.5 Setting up libtsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.5 Setting up libubsan0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.6 Setting up libcilkrts5:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.6 Setting up libmpx0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.6 Setting up libquadmath0:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.6 Setting up libgcc-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.6 Setting up gcc-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.7 Setting up gcc (4:5.3.1-1ubuntu1) ...
#13 178.7 Setting up libstdc++-5-dev:amd64 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.7 Setting up g++-5 (5.4.0-6ubuntu1~16.04.12) ...
#13 178.7 Setting up g++ (4:5.3.1-1ubuntu1) ...
#13 178.8 update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
#13 178.8 Setting up make (4.1-6) ...
#13 178.8 Setting up libdpkg-perl (1.18.4ubuntu1.6) ...
#13 178.8 Setting up patch (2.7.5-1ubuntu0.16.04.2) ...
#13 178.9 Setting up dpkg-dev (1.18.4ubuntu1.6) ...
#13 178.9 Setting up build-essential (12.1ubuntu2) ...
#13 178.9 Setting up libfakeroot:amd64 (1.20.2-1ubuntu1) ...
#13 178.9 Setting up fakeroot (1.20.2-1ubuntu1) ...
#13 179.0 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
#13 179.0 Setting up libalgorithm-diff-perl (1.19.03-1) ...
#13 179.0 Setting up libalgorithm-diff-xs-perl (0.04-4build1) ...
#13 179.0 Setting up libalgorithm-merge-perl (0.08-3) ...
#13 179.0 Setting up libexpat1-dev:amd64 (2.1.0-7ubuntu0.16.04.5) ...
#13 179.1 Setting up libfile-fcntllock-perl (0.22-3) ...
#13 179.1 Setting up libpython3.5:amd64 (3.5.2-2ubuntu0~16.04.13) ...
#13 179.1 Setting up libpython3.5-dev:amd64 (3.5.2-2ubuntu0~16.04.13) ...
#13 179.1 Setting up libpython3-dev:amd64 (3.5.1-3) ...
#13 179.2 Setting up manpages-dev (4.04-2) ...
#13 179.2 Setting up python-pip-whl (8.1.1-2ubuntu0.6) ...
#13 179.2 Setting up python3.5-dev (3.5.2-2ubuntu0~16.04.13) ...
#13 179.2 Setting up python3-dev (3.5.1-3) ...
#13 179.2 Setting up python3-pip (8.1.1-2ubuntu0.6) ...
#13 179.5 Setting up python3-pkg-resources (20.7.0-1) ...
#13 179.7 Setting up python3-setuptools (20.7.0-1) ...
#13 179.9 Setting up python3-wheel (0.29.0-1) ...
#13 180.1 Setting up rename (0.20-4) ...
#13 180.1 update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
#13 180.1 Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
#13 180.1 Processing triggers for systemd (229-4ubuntu21.29) ...
#13 DONE 180.4s
#14 [11/16] RUN python3.6 -m pip install --upgrade setuptools
#14 2.321 Collecting setuptools
#14 2.845 Downloading https://files.pythonhosted.org/packages/0c/12/18eda60a1b961e0248e1b1e3ec1ff417420596dc7edf3614ef58a7a8cf6a/setuptools-54.1.2-py3-none-any.whl (785kB)
#14 3.183 Installing collected packages: setuptools
#14 3.184 Found existing installation: setuptools 20.7.0
#14 3.195 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
#14 3.497 Successfully installed setuptools-54.1.2
#14 4.135 You are using pip version 8.1.1, however version 21.0.1 is available.
#14 4.135 You should consider upgrading via the 'pip install --upgrade pip' command.
#14 DONE 4.2s
#15 [12/16] RUN python3.6 -m pip install --upgrade pip
#15 1.842 Collecting pip
#15 2.101 Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
#15 2.737 Installing collected packages: pip
#15 2.737 Found existing installation: pip 8.1.1
#15 2.740 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
#15 3.558 Successfully installed pip-21.0.1
#15 DONE 3.7s
#16 [13/16] RUN python3.6 -m pip install tensorspacejs
#16 1.372 Collecting tensorspacejs
#16 1.554 Downloading tensorspacejs-0.2.0-py3-none-any.whl (62 kB)
#16 1.699 Collecting keras==2.2.2
#16 1.763 Downloading Keras-2.2.2-py2.py3-none-any.whl (299 kB)
#16 1.976 Collecting tensorflowjs==0.8.0
#16 2.022 Downloading tensorflowjs-0.8.0-py3-none-any.whl (39 kB)
#16 2.521 Collecting tensorflow==1.12.0
#16 2.570 Downloading tensorflow-1.12.0-cp36-cp36m-manylinux1_x86_64.whl (83.1 MB)
#16 12.58 Collecting numpy>=1.9.1
#16 12.62 Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)
#16 14.38 Collecting pyyaml
#16 14.44 Downloading PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl (640 kB)
#16 14.95 Collecting scipy>=0.14
#16 15.00 Downloading scipy-1.5.4-cp36-cp36m-manylinux1_x86_64.whl (25.9 MB)
#16 17.99 Collecting h5py
#16 18.05 Downloading h5py-3.1.0-cp36-cp36m-manylinux1_x86_64.whl (4.0 MB)
#16 18.60 Collecting keras-preprocessing==1.0.2
#16 18.65 Downloading Keras_Preprocessing-1.0.2-py2.py3-none-any.whl (26 kB)
#16 18.74 Collecting six>=1.9.0
#16 18.81 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
#16 18.89 Collecting keras-applications==1.0.4
#16 18.94 Downloading Keras_Applications-1.0.4-py2.py3-none-any.whl (43 kB)
#16 19.04 Requirement already satisfied: wheel>=0.26 in /usr/lib/python3/dist-packages (from tensorflow==1.12.0->tensorspacejs) (0.29.0)
#16 19.10 Collecting termcolor>=1.1.0
#16 19.15 Downloading termcolor-1.1.0.tar.gz (3.9 kB)
#16 19.51 Collecting gast>=0.2.0
#16 19.55 Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
#16 19.64 Collecting astor>=0.6.0
#16 19.69 Downloading astor-0.8.1-py2.py3-none-any.whl (27 kB)
#16 19.79 Collecting absl-py>=0.1.6
#16 19.84 Downloading absl_py-0.12.0-py3-none-any.whl (129 kB)
#16 21.15 Collecting grpcio>=1.8.6
#16 21.19 Downloading grpcio-1.36.1-cp36-cp36m-manylinux2014_x86_64.whl (4.1 MB)
#16 22.14 Collecting protobuf>=3.6.1
#16 22.22 Downloading protobuf-3.15.6-cp36-cp36m-manylinux1_x86_64.whl (1.0 MB)
#16 22.34 INFO: pip is looking at multiple versions of keras-preprocessing to determine which version is compatible with other requirements. This could take a while.
#16 22.34 INFO: pip is looking at multiple versions of keras-applications to determine which version is compatible with other requirements. This could take a while.
#16 22.34 INFO: pip is looking at multiple versions of keras to determine which version is compatible with other requirements. This could take a while.
#16 22.34 INFO: pip is looking at multiple versions of tensorspacejs to determine which version is compatible with other requirements. This could take a while.
#16 22.35 Collecting tensorspacejs
#16 22.40 Downloading tensorspacejs-0.1.0-py3-none-any.whl (66 kB)
#16 22.47 Downloading tensorspacejs-0.0.23-py3-none-any.whl (66 kB)
#16 22.54 Downloading tensorspacejs-0.0.22-py3-none-any.whl (61 kB)
#16 22.60 Downloading tensorspacejs-0.0.20-py3-none-any.whl (34 kB)
#16 22.67 Downloading tensorspacejs-0.0.19-py3-none-any.whl (20 kB)
#16 22.73 Downloading tensorspacejs-0.0.18-py3-none-any.whl (20 kB)
#16 22.78 Downloading tensorspacejs-0.0.17-py3-none-any.whl (20 kB)
#16 22.85 Downloading tensorspacejs-0.0.16-py3-none-any.whl (20 kB)
#16 22.91 Downloading tensorspacejs-0.0.15-py3-none-any.whl (20 kB)
#16 22.97 Downloading tensorspacejs-0.0.14-py3-none-any.whl (19 kB)
#16 23.02 Downloading tensorspacejs-0.0.13-py3-none-any.whl (19 kB)
#16 23.09 Downloading tensorspacejs-0.0.12-py3-none-any.whl (19 kB)
#16 23.16 Downloading tensorspacejs-0.0.11-py3-none-any.whl (13 kB)
#16 23.21 Downloading tensorspacejs-0.0.10-py3-none-any.whl (13 kB)
#16 23.27 Downloading tensorspacejs-0.0.9-py3-none-any.whl (13 kB)
#16 23.33 Downloading tensorspacejs-0.0.8-py3-none-any.whl (10 kB)
#16 23.39 Downloading tensorspacejs-0.0.7-py3-none-any.whl (5.0 kB)
#16 23.46 Downloading tensorspacejs-0.0.3-py3-none-any.whl (6.7 kB)
#16 23.53 Downloading tensorspacejs-0.0.2-py3-none-any.whl (6.9 kB)
#16 23.60 Downloading tensorspacejs-0.0.1-py3-none-any.whl (5.9 kB)
#16 23.68 Collecting numpy==1.16.2
#16 23.72 Downloading numpy-1.16.2-cp36-cp36m-manylinux1_x86_64.whl (17.3 MB)
#16 25.55 Collecting h5py==2.8.0
#16 25.61 Downloading h5py-2.8.0-cp36-cp36m-manylinux1_x86_64.whl (2.8 MB)
#16 25.91 Collecting six==1.11.0
#16 25.96 Downloading six-1.11.0-py2.py3-none-any.whl (10 kB)
#16 26.03 Collecting tensorflow-hub==0.1.1
#16 26.08 Downloading tensorflow_hub-0.1.1-py2.py3-none-any.whl (52 kB)
#16 26.10 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
#16 26.10 INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while.
#16 26.15 INFO: pip is looking at multiple versions of tensorspacejs to determine which version is compatible with other requirements. This could take a while.
#16 26.18 Collecting tensorflowjs==1.0.1
#16 26.22 Downloading tensorflowjs-1.0.1-py3-none-any.whl (35 kB)
#16 26.27 Collecting tensorflow-hub==0.3.0
#16 26.33 Downloading tensorflow_hub-0.3.0-py2.py3-none-any.whl (73 kB)
#16 26.36 Collecting keras==2.2.4
#16 26.41 Downloading Keras-2.2.4-py2.py3-none-any.whl (312 kB)
#16 26.74 Collecting numpy==1.15.4
#16 26.84 Downloading numpy-1.15.4-cp36-cp36m-manylinux1_x86_64.whl (13.9 MB)
#16 28.23 Collecting tensorflowjs==0.6.7
#16 28.28 Downloading tensorflowjs-0.6.7-py3-none-any.whl (34 kB)
#16 28.32 INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
#16 28.32 INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while.
#16 28.34 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
#16 28.38 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
#16 28.38 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
#16 28.46 Installing collected packages: tensorspacejs
#16 28.48 Successfully installed tensorspacejs-0.0.2
#16 DONE 29.0s
#17 [14/16] RUN echo "alias python=python3.6" >> ~/.bash_aliases
#17 DONE 0.4s
#18 [15/16] RUN . ~/.bash_aliases
#18 DONE 0.4s
#19 [16/16] WORKDIR /data
#19 DONE 0.0s
#20 exporting to image
#20 exporting layers
#20 exporting layers 3.6s done
#20 writing image sha256:9d2d0820cf4b7f407ef87db71d76e13df974b451ad1fb51faf4e103c41849fa6 done
#20 naming to docker.io/library/tensorspacejs done
#20 DONE 3.7s
- 第二步就出现问题了
$ bash run_docker_converter.sh --work_dir ./example
Start converting model...
Error: No such container: tsp-converter
the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'
Error: No such container: tsp-converter