Loading

Iceberg Detection

Solution for submission 152464

A detailed solution for submission 152464 submitted for challenge Iceberg Detection

ksnxr

Starter Code for IceBerg Detection

banner.jpg

What we are going to Learn

  • How to semantic segmentation using PyTorch.
  • Working with videos.
  • Testing and Submitting the Results to the Challenge.

Note : Create a copy of the notebook and use the copy for submission. Go to File > Save a Copy in Drive to create a new copy

Setup AIcrowd Utilities 🛠

In [1]:
!pip install aicrowd-cli

%load_ext aicrowd.magic
Collecting aicrowd-cli
  Downloading aicrowd_cli-0.1.9-py3-none-any.whl (43 kB)
     |████████████████████████████████| 43 kB 916 kB/s 
Collecting rich<11,>=10.0.0
  Downloading rich-10.7.0-py3-none-any.whl (209 kB)
     |████████████████████████████████| 209 kB 12.5 MB/s 
Collecting requests-toolbelt<1,>=0.9.1
  Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
     |████████████████████████████████| 54 kB 2.6 MB/s 
Collecting tqdm<5,>=4.56.0
  Downloading tqdm-4.62.0-py2.py3-none-any.whl (76 kB)
     |████████████████████████████████| 76 kB 3.8 MB/s 
Requirement already satisfied: toml<1,>=0.10.2 in /usr/local/lib/python3.7/dist-packages (from aicrowd-cli) (0.10.2)
Requirement already satisfied: click<8,>=7.1.2 in /usr/local/lib/python3.7/dist-packages (from aicrowd-cli) (7.1.2)
Collecting GitPython==3.1.18
  Downloading GitPython-3.1.18-py3-none-any.whl (170 kB)
     |████████████████████████████████| 170 kB 38.3 MB/s 
Collecting requests<3,>=2.25.1
  Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)
     |████████████████████████████████| 62 kB 883 kB/s 
Requirement already satisfied: typing-extensions>=3.7.4.0 in /usr/local/lib/python3.7/dist-packages (from GitPython==3.1.18->aicrowd-cli) (3.7.4.3)
Collecting gitdb<5,>=4.0.1
  Downloading gitdb-4.0.7-py3-none-any.whl (63 kB)
     |████████████████████████████████| 63 kB 1.9 MB/s 
Collecting smmap<5,>=3.0.1
  Downloading smmap-4.0.0-py2.py3-none-any.whl (24 kB)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.25.1->aicrowd-cli) (2021.5.30)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.25.1->aicrowd-cli) (2.0.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.25.1->aicrowd-cli) (1.24.3)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests<3,>=2.25.1->aicrowd-cli) (2.10)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in /usr/local/lib/python3.7/dist-packages (from rich<11,>=10.0.0->aicrowd-cli) (2.6.1)
Collecting commonmark<0.10.0,>=0.9.0
  Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
     |████████████████████████████████| 51 kB 7.0 MB/s 
Collecting colorama<0.5.0,>=0.4.0
  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Installing collected packages: smmap, requests, gitdb, commonmark, colorama, tqdm, rich, requests-toolbelt, GitPython, aicrowd-cli
  Attempting uninstall: requests
    Found existing installation: requests 2.23.0
    Uninstalling requests-2.23.0:
      Successfully uninstalled requests-2.23.0
  Attempting uninstall: tqdm
    Found existing installation: tqdm 4.41.1
    Uninstalling tqdm-4.41.1:
      Successfully uninstalled tqdm-4.41.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.26.0 which is incompatible.
datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.
Successfully installed GitPython-3.1.18 aicrowd-cli-0.1.9 colorama-0.4.4 commonmark-0.9.1 gitdb-4.0.7 requests-2.26.0 requests-toolbelt-0.9.1 rich-10.7.0 smmap-4.0.0 tqdm-4.62.0

How to use this notebook? 📝

notebook overview

  • Update the config parameters. You can define the common variables here
Variable Description
AICROWD_DATASET_PATH Path to the file containing test data (The data will be available at /data/ on aridhia workspace). This should be an absolute path.
AICROWD_OUTPUTS_PATH Path to write the output to.
AICROWD_ASSETS_DIR In case your notebook needs additional files (like model weights, etc.,), you can add them to a directory and specify the path to the directory here (please specify relative path). The contents of this directory will be sent to AIcrowd for evaluation.
AICROWD_API_KEY In order to submit your code to AIcrowd, you need to provide your account's API key. This key is available at https://www.aicrowd.com/participants/me
  • Installing packages. Please use the Install packages 🗃 section to install the packages
  • Training your models. All the code within the Training phase ⚙️ section will be skipped during evaluation. Please make sure to save your model weights in the assets directory and load them in the predictions phase section

AIcrowd Runtime Configuration 🧷

Define configuration parameters. Please include any files needed for the notebook to run under ASSETS_DIR. We will copy the contents of this directory to your final submission file 🙂

The dataset is available under /data on the workspace.

In [2]:
import os

# Please use the absolute for the location of the dataset.
# Or you can use relative path with `os.getcwd() + "test_data/test.csv"`
AICROWD_DATASET_PATH = os.getenv("DATASET_PATH", os.getcwd()+"/data/test")
AICROWD_OUTPUTS_PATH = os.getenv("OUTPUTS_DIR", "")
AICROWD_ASSETS_DIR = os.getenv("ASSETS_DIR", "assets")

Install packages 🗃

Installing PyTorch & some other libraries

In [3]:
!pip install git+https://github.com/qubvel/segmentation_models.pytorch scikit-video natsort
!pip install onnx
!pip install onnxruntime

# Installing Scikit Video & FFMPEG
!pip install scikit-video
!pip install ffmpeg
!apt-get install ffmpeg gstreamer1.0-libav vlc
!apt-get update -qq && sudo apt-get -y install \
  autoconf \
  automake \
  build-essential \
  cmake \
  git-core \
  libass-dev \
  libfreetype6-dev \
  libgnutls28-dev \
  libsdl2-dev \
  libtool \
  libva-dev \
  libvdpau-dev \
  libvorbis-dev \
  libxcb1-dev \
  libxcb-shm0-dev \
  libxcb-xfixes0-dev \
  meson \
  ninja-build \
  pkg-config \
  texinfo \
  wget \
  yasm \
  zlib1g-dev
!apt-get install ffmpeg libsm6  libxext6 -y
!pip install sk-video p-tqdm
!apt-get update
!apt-get install -y python3-opencv
!pip install --upgrade opencv
!pip install --upgrade torch torchvision
Collecting git+https://github.com/qubvel/segmentation_models.pytorch
  Cloning https://github.com/qubvel/segmentation_models.pytorch to /tmp/pip-req-build-jnsx8jz0
  Running command git clone -q https://github.com/qubvel/segmentation_models.pytorch /tmp/pip-req-build-jnsx8jz0
Collecting scikit-video
  Downloading scikit_video-1.1.11-py2.py3-none-any.whl (2.3 MB)
     |████████████████████████████████| 2.3 MB 7.1 MB/s 
Requirement already satisfied: natsort in /usr/local/lib/python3.7/dist-packages (5.5.0)
Requirement already satisfied: torchvision>=0.5.0 in /usr/local/lib/python3.7/dist-packages (from segmentation-models-pytorch==0.2.0) (0.10.0+cu102)
Collecting pretrainedmodels==0.7.4
  Downloading pretrainedmodels-0.7.4.tar.gz (58 kB)
     |████████████████████████████████| 58 kB 5.6 MB/s 
Collecting efficientnet-pytorch==0.6.3
  Downloading efficientnet_pytorch-0.6.3.tar.gz (16 kB)
Collecting timm==0.4.12
  Downloading timm-0.4.12-py3-none-any.whl (376 kB)
     |████████████████████████████████| 376 kB 59.0 MB/s 
Requirement already satisfied: torch in /usr/local/lib/python3.7/dist-packages (from efficientnet-pytorch==0.6.3->segmentation-models-pytorch==0.2.0) (1.9.0+cu102)
Collecting munch
  Downloading munch-2.5.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (from pretrainedmodels==0.7.4->segmentation-models-pytorch==0.2.0) (4.62.0)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from torch->efficientnet-pytorch==0.6.3->segmentation-models-pytorch==0.2.0) (3.7.4.3)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torchvision>=0.5.0->segmentation-models-pytorch==0.2.0) (1.19.5)
Requirement already satisfied: pillow>=5.3.0 in /usr/local/lib/python3.7/dist-packages (from torchvision>=0.5.0->segmentation-models-pytorch==0.2.0) (7.1.2)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from scikit-video) (1.4.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from munch->pretrainedmodels==0.7.4->segmentation-models-pytorch==0.2.0) (1.15.0)
Building wheels for collected packages: segmentation-models-pytorch, efficientnet-pytorch, pretrainedmodels
  Building wheel for segmentation-models-pytorch (setup.py) ... done
  Created wheel for segmentation-models-pytorch: filename=segmentation_models_pytorch-0.2.0-py3-none-any.whl size=88681 sha256=4cdd8d4d0fc732a6e477ec6b61003836207d18dee3941cd9c19dd4ffeb61e896
  Stored in directory: /tmp/pip-ephem-wheel-cache-899jdsx7/wheels/fa/c5/a8/1e8af6cb04a0974db8a4a156ebd2fdd1d99ad2558d3fce49d4
  Building wheel for efficientnet-pytorch (setup.py) ... done
  Created wheel for efficientnet-pytorch: filename=efficientnet_pytorch-0.6.3-py3-none-any.whl size=12419 sha256=06cce0a16b085afc4e78694cd0d22249b2696fb3e6025da8b30a31d67ac10705
  Stored in directory: /root/.cache/pip/wheels/90/6b/0c/f0ad36d00310e65390b0d4c9218ae6250ac579c92540c9097a
  Building wheel for pretrainedmodels (setup.py) ... done
  Created wheel for pretrainedmodels: filename=pretrainedmodels-0.7.4-py3-none-any.whl size=60965 sha256=d7960de2c3348f8d732dc01edb14d77c2ac018e989b4cc39742136beedf5ea27
  Stored in directory: /root/.cache/pip/wheels/ed/27/e8/9543d42de2740d3544db96aefef63bda3f2c1761b3334f4873
Successfully built segmentation-models-pytorch efficientnet-pytorch pretrainedmodels
Installing collected packages: munch, timm, pretrainedmodels, efficientnet-pytorch, segmentation-models-pytorch, scikit-video
Successfully installed efficientnet-pytorch-0.6.3 munch-2.5.0 pretrainedmodels-0.7.4 scikit-video-1.1.11 segmentation-models-pytorch-0.2.0 timm-0.4.12
Collecting onnx
  Downloading onnx-1.10.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (12.3 MB)
     |████████████████████████████████| 12.3 MB 8.8 MB/s 
Requirement already satisfied: protobuf in /usr/local/lib/python3.7/dist-packages (from onnx) (3.17.3)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from onnx) (1.15.0)
Requirement already satisfied: numpy>=1.16.6 in /usr/local/lib/python3.7/dist-packages (from onnx) (1.19.5)
Requirement already satisfied: typing-extensions>=3.6.2.1 in /usr/local/lib/python3.7/dist-packages (from onnx) (3.7.4.3)
Installing collected packages: onnx
Successfully installed onnx-1.10.1
Collecting onnxruntime
  Downloading onnxruntime-1.8.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB)
     |████████████████████████████████| 4.5 MB 7.6 MB/s 
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.7/dist-packages (from onnxruntime) (1.12)
Requirement already satisfied: numpy>=1.16.6 in /usr/local/lib/python3.7/dist-packages (from onnxruntime) (1.19.5)
Requirement already satisfied: protobuf in /usr/local/lib/python3.7/dist-packages (from onnxruntime) (3.17.3)
Requirement already satisfied: six>=1.9 in /usr/local/lib/python3.7/dist-packages (from protobuf->onnxruntime) (1.15.0)
Installing collected packages: onnxruntime
Successfully installed onnxruntime-1.8.1
Requirement already satisfied: scikit-video in /usr/local/lib/python3.7/dist-packages (1.1.11)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from scikit-video) (1.19.5)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from scikit-video) (1.4.1)
Requirement already satisfied: pillow in /usr/local/lib/python3.7/dist-packages (from scikit-video) (7.1.2)
Collecting ffmpeg
  Downloading ffmpeg-1.4.tar.gz (5.1 kB)
Building wheels for collected packages: ffmpeg
  Building wheel for ffmpeg (setup.py) ... done
  Created wheel for ffmpeg: filename=ffmpeg-1.4-py3-none-any.whl size=6084 sha256=9f42167ba1f47ff0870d77f426d91b92f747a8000a13540b0dd5571e2838e91d
  Stored in directory: /root/.cache/pip/wheels/64/80/6e/caa3e16deb0267c3cbfd36862058a724144e19fdb9eb03af0f
Successfully built ffmpeg
Installing collected packages: ffmpeg
Successfully installed ffmpeg-1.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ffmpeg is already the newest version (7:3.4.8-0ubuntu0.2).
The following additional packages will be installed:
  fonts-freefont-ttf gstreamer1.0-plugins-base liba52-0.7.4 libaa1
  libaribb24-0 libbasicusageenvironment1 libcap2-bin libcddb2 libcdparanoia0
  libdca0 libdvbpsi10 libdvdnav4 libdvdread4 libebml4v5 libfaad2 libgpm2
  libgroupsock8 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libkate1
  libldb1 liblirc-client0 liblivemedia62 liblua5.2-0 libmad0 libmatroska6v5
  libmicrodns0 libmpcdec6 libmpeg2-4 libmtp-common libmtp-runtime libmtp9
  libnfs11 libnotify4 libopenmpt-modplug1 liborc-0.4-0 libpam-cap libplacebo4
  libprotobuf-lite10 libproxy-tools libqt5svg5 libqt5x11extras5
  libresid-builder0c2a libsdl-image1.2 libsdl1.2debian libsecret-1-0
  libsecret-common libshout3 libsidplay2 libsmbclient libspeexdsp1 libtag1v5
  libtag1v5-vanilla libtalloc2 libtdb1 libtevent0 libupnp6
  libusageenvironment3 libva-wayland2 libvisual-0.4-0 libvlc-bin libvlc5
  libvlccore9 libvulkan1 libwbclient0 libxcb-xv0 mesa-vulkan-drivers
  notification-daemon python-talloc samba-libs vlc-bin vlc-data vlc-l10n
  vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba
  vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter
  vlc-plugin-visualization
Suggested packages:
  gvfs libdvdcss2 gpm libvisual-0.4-plugins gstreamer1.0-tools lirc
The following NEW packages will be installed:
  fonts-freefont-ttf gstreamer1.0-libav gstreamer1.0-plugins-base liba52-0.7.4
  libaa1 libaribb24-0 libbasicusageenvironment1 libcap2-bin libcddb2
  libcdparanoia0 libdca0 libdvbpsi10 libdvdnav4 libdvdread4 libebml4v5
  libfaad2 libgpm2 libgroupsock8 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libkate1 libldb1 liblirc-client0 liblivemedia62
  liblua5.2-0 libmad0 libmatroska6v5 libmicrodns0 libmpcdec6 libmpeg2-4
  libmtp-common libmtp-runtime libmtp9 libnfs11 libnotify4 libopenmpt-modplug1
  liborc-0.4-0 libpam-cap libplacebo4 libprotobuf-lite10 libproxy-tools
  libqt5svg5 libqt5x11extras5 libresid-builder0c2a libsdl-image1.2
  libsdl1.2debian libsecret-1-0 libsecret-common libshout3 libsidplay2
  libsmbclient libspeexdsp1 libtag1v5 libtag1v5-vanilla libtalloc2 libtdb1
  libtevent0 libupnp6 libusageenvironment3 libva-wayland2 libvisual-0.4-0
  libvlc-bin libvlc5 libvlccore9 libvulkan1 libwbclient0 libxcb-xv0
  mesa-vulkan-drivers notification-daemon python-talloc samba-libs vlc vlc-bin
  vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt
  vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
  vlc-plugin-video-splitter vlc-plugin-visualization
0 upgraded, 83 newly installed, 0 to remove and 40 not upgraded.
Need to get 29.9 MB of archives.
After this operation, 134 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvulkan1 amd64 1.1.126.0-2~gpu18.04.1 [101 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmtp-common all 1.1.13-1 [43.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmtp9 amd64 1.1.13-1 [154 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libqt5svg5 amd64 5.9.5-0ubuntu1 [128 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwbclient0 amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 [34.4 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtalloc2 amd64 2.1.10-2ubuntu1 [36.0 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtdb1 amd64 1.3.15-2 [39.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtevent0 amd64 0.9.34-1 [27.7 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libldb1 amd64 2:1.2.3-1ubuntu0.2 [114 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-talloc amd64 2.1.10-2ubuntu1 [9,124 B]
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 samba-libs amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 [5,260 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsmbclient amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 [54.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcap2-bin amd64 1:2.25-1.2 [20.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libpam-cap amd64 1:2.25-1.2 [7,268 B]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 fonts-freefont-ttf all 20120503-7 [4,202 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer1.0-0 amd64 1.14.5-0ubuntu1~18.04.2 [865 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 liborc-0.4-0 amd64 1:0.4.28-1 [137 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer-plugins-base1.0-0 amd64 1.14.5-0ubuntu1~18.04.3 [689 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 gstreamer1.0-libav amd64 1.14.5-0ubuntu1~18.04.1 [124 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcdparanoia0 amd64 3.10.2+debian-13 [46.7 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 libvisual-0.4-0 amd64 0.4.0-11 [99.2 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-base amd64 1.14.5-0ubuntu1~18.04.3 [586 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic/universe amd64 liba52-0.7.4 amd64 0.7.4-19 [35.2 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgpm2 amd64 1.20.7-5 [15.1 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libaa1 amd64 1.4p5-44build2 [47.2 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libaribb24-0 amd64 1.0.3-1 [26.7 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libbasicusageenvironment1 amd64 2018.02.18-1 [15.9 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libcddb2 amd64 1.3.2-5fakesync1 [33.9 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdvbpsi10 amd64 1.3.2-1 [47.7 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdvdread4 amd64 6.0.0-1 [50.6 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdvdnav4 amd64 6.0.0-1 [38.0 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libebml4v5 amd64 1.3.5-2ubuntu0.1 [46.0 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libfaad2 amd64 2.8.8-1 [154 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libgroupsock8 amd64 2018.02.18-1 [21.2 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libkate1 amd64 0.4.1-7build1 [38.1 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic/universe amd64 liblivemedia62 amd64 2018.02.18-1 [297 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblua5.2-0 amd64 5.2.4-1.1build1 [108 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libmad0 amd64 0.15.1b-9ubuntu18.04.1 [64.6 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmatroska6v5 amd64 1.4.8-1.1 [122 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmicrodns0 amd64 0.0.8-1 [11.3 kB]
Get:41 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmpcdec6 amd64 2:0.1~r495-1 [32.3 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmpeg2-4 amd64 0.5.1-8 [57.5 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmtp-runtime amd64 1.1.13-1 [5,722 B]
Get:44 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libnfs11 amd64 2.0.0-1~exp1 [75.7 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnotify4 amd64 0.7.7-3 [17.3 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libopenmpt-modplug1 amd64 0.3.6-1 [19.2 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libplacebo4 amd64 0.4.0-2 [101 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic/main amd64 libprotobuf-lite10 amd64 3.0.0-9.1ubuntu1 [97.7 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libproxy-tools amd64 0.4.15-1ubuntu0.2 [5,320 B]
Get:50 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libqt5x11extras5 amd64 5.9.5-0ubuntu1 [8,596 B]
Get:51 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libresid-builder0c2a amd64 2.1.1-15ubuntu1 [31.3 kB]
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsdl1.2debian amd64 1.2.15+dfsg2-0.1ubuntu0.1 [175 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libsdl-image1.2 amd64 1.2.12-8ubuntu0.1 [30.3 kB]
Get:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsecret-common all 0.18.6-1 [4,452 B]
Get:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsecret-1-0 amd64 0.18.6-1 [94.6 kB]
Get:56 http://archive.ubuntu.com/ubuntu bionic/main amd64 libshout3 amd64 2.4.1-2build1 [43.1 kB]
Get:57 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsidplay2 amd64 2.1.1-15ubuntu1 [87.8 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 libspeexdsp1 amd64 1.2~rc1.2-1ubuntu2 [40.3 kB]
Get:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtag1v5-vanilla amd64 1.11.1+dfsg.1-0.2build2 [265 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtag1v5 amd64 1.11.1+dfsg.1-0.2build2 [10.9 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libusageenvironment3 amd64 2018.02.18-1 [6,944 B]
Get:62 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libva-wayland2 amd64 2.1.0-3 [8,756 B]
Get:63 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libvlccore9 amd64 3.0.8-0ubuntu18.04.1 [434 kB]
Get:64 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libvlc5 amd64 3.0.8-0ubuntu18.04.1 [68.0 kB]
Get:65 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libvlc-bin amd64 3.0.8-0ubuntu18.04.1 [17.1 kB]
Get:66 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-xv0 amd64 1.13-2~ubuntu18.04 [9,168 B]
Get:67 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mesa-vulkan-drivers amd64 20.0.8-0ubuntu1~18.04.1 [3,059 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic/main amd64 notification-daemon amd64 3.20.0-3 [36.9 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-bin amd64 3.0.8-0ubuntu18.04.1 [53.3 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-data all 3.0.8-0ubuntu18.04.1 [339 kB]
Get:71 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libdca0 amd64 0.0.5-10 [100.0 kB]
Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblirc-client0 amd64 0.10.0-2 [22.3 kB]
Get:73 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libupnp6 amd64 1:1.6.24-4 [122 kB]
Get:74 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-base amd64 3.0.8-0ubuntu18.04.1 [2,900 kB]
Get:75 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-qt amd64 3.0.8-0ubuntu18.04.1 [1,049 kB]
Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-video-output amd64 3.0.8-0ubuntu18.04.1 [163 kB]
Get:77 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc amd64 3.0.8-0ubuntu18.04.1 [33.7 kB]
Get:78 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-l10n all 3.0.8-0ubuntu18.04.1 [5,739 kB]
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-notify amd64 3.0.8-0ubuntu18.04.1 [18.3 kB]
Get:80 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-samba amd64 3.0.8-0ubuntu18.04.1 [18.9 kB]
Get:81 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-skins2 amd64 3.0.8-0ubuntu18.04.1 [468 kB]
Get:82 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-video-splitter amd64 3.0.8-0ubuntu18.04.1 [31.3 kB]
Get:83 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 vlc-plugin-visualization amd64 3.0.8-0ubuntu18.04.1 [39.6 kB]
Fetched 29.9 MB in 4s (7,493 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libmtp-common.
(Reading database ... 160837 files and directories currently installed.)
Preparing to unpack .../00-libmtp-common_1.1.13-1_all.deb ...
Unpacking libmtp-common (1.1.13-1) ...
Selecting previously unselected package libmtp9:amd64.
Preparing to unpack .../01-libmtp9_1.1.13-1_amd64.deb ...
Unpacking libmtp9:amd64 (1.1.13-1) ...
Selecting previously unselected package libqt5svg5:amd64.
Preparing to unpack .../02-libqt5svg5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5svg5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libwbclient0:amd64.
Preparing to unpack .../03-libwbclient0_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.23_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Selecting previously unselected package libtalloc2:amd64.
Preparing to unpack .../04-libtalloc2_2.1.10-2ubuntu1_amd64.deb ...
Unpacking libtalloc2:amd64 (2.1.10-2ubuntu1) ...
Selecting previously unselected package libtdb1:amd64.
Preparing to unpack .../05-libtdb1_1.3.15-2_amd64.deb ...
Unpacking libtdb1:amd64 (1.3.15-2) ...
Selecting previously unselected package libtevent0:amd64.
Preparing to unpack .../06-libtevent0_0.9.34-1_amd64.deb ...
Unpacking libtevent0:amd64 (0.9.34-1) ...
Selecting previously unselected package libldb1:amd64.
Preparing to unpack .../07-libldb1_2%3a1.2.3-1ubuntu0.2_amd64.deb ...
Unpacking libldb1:amd64 (2:1.2.3-1ubuntu0.2) ...
Selecting previously unselected package python-talloc.
Preparing to unpack .../08-python-talloc_2.1.10-2ubuntu1_amd64.deb ...
Unpacking python-talloc (2.1.10-2ubuntu1) ...
Selecting previously unselected package samba-libs:amd64.
Preparing to unpack .../09-samba-libs_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.23_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Selecting previously unselected package libsmbclient:amd64.
Preparing to unpack .../10-libsmbclient_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.23_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Selecting previously unselected package libcap2-bin.
Preparing to unpack .../11-libcap2-bin_1%3a2.25-1.2_amd64.deb ...
Unpacking libcap2-bin (1:2.25-1.2) ...
Selecting previously unselected package libpam-cap:amd64.
Preparing to unpack .../12-libpam-cap_1%3a2.25-1.2_amd64.deb ...
Unpacking libpam-cap:amd64 (1:2.25-1.2) ...
Selecting previously unselected package fonts-freefont-ttf.
Preparing to unpack .../13-fonts-freefont-ttf_20120503-7_all.deb ...
Unpacking fonts-freefont-ttf (20120503-7) ...
Selecting previously unselected package libgstreamer1.0-0:amd64.
Preparing to unpack .../14-libgstreamer1.0-0_1.14.5-0ubuntu1~18.04.2_amd64.deb ...
Unpacking libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.2) ...
Selecting previously unselected package liborc-0.4-0:amd64.
Preparing to unpack .../15-liborc-0.4-0_1%3a0.4.28-1_amd64.deb ...
Unpacking liborc-0.4-0:amd64 (1:0.4.28-1) ...
Selecting previously unselected package libgstreamer-plugins-base1.0-0:amd64.
Preparing to unpack .../16-libgstreamer-plugins-base1.0-0_1.14.5-0ubuntu1~18.04.3_amd64.deb ...
Unpacking libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.3) ...
Selecting previously unselected package gstreamer1.0-libav:amd64.
Preparing to unpack .../17-gstreamer1.0-libav_1.14.5-0ubuntu1~18.04.1_amd64.deb ...
Unpacking gstreamer1.0-libav:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Selecting previously unselected package libcdparanoia0:amd64.
Preparing to unpack .../18-libcdparanoia0_3.10.2+debian-13_amd64.deb ...
Unpacking libcdparanoia0:amd64 (3.10.2+debian-13) ...
Selecting previously unselected package libvisual-0.4-0:amd64.
Preparing to unpack .../19-libvisual-0.4-0_0.4.0-11_amd64.deb ...
Unpacking libvisual-0.4-0:amd64 (0.4.0-11) ...
Selecting previously unselected package gstreamer1.0-plugins-base:amd64.
Preparing to unpack .../20-gstreamer1.0-plugins-base_1.14.5-0ubuntu1~18.04.3_amd64.deb ...
Unpacking gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.3) ...
Selecting previously unselected package liba52-0.7.4:amd64.
Preparing to unpack .../21-liba52-0.7.4_0.7.4-19_amd64.deb ...
Unpacking liba52-0.7.4:amd64 (0.7.4-19) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../22-libgpm2_1.20.7-5_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-5) ...
Selecting previously unselected package libaa1:amd64.
Preparing to unpack .../23-libaa1_1.4p5-44build2_amd64.deb ...
Unpacking libaa1:amd64 (1.4p5-44build2) ...
Selecting previously unselected package libaribb24-0:amd64.
Preparing to unpack .../24-libaribb24-0_1.0.3-1_amd64.deb ...
Unpacking libaribb24-0:amd64 (1.0.3-1) ...
Selecting previously unselected package libbasicusageenvironment1:amd64.
Preparing to unpack .../25-libbasicusageenvironment1_2018.02.18-1_amd64.deb ...
Unpacking libbasicusageenvironment1:amd64 (2018.02.18-1) ...
Selecting previously unselected package libcddb2.
Preparing to unpack .../26-libcddb2_1.3.2-5fakesync1_amd64.deb ...
Unpacking libcddb2 (1.3.2-5fakesync1) ...
Selecting previously unselected package libdvbpsi10:amd64.
Preparing to unpack .../27-libdvbpsi10_1.3.2-1_amd64.deb ...
Unpacking libdvbpsi10:amd64 (1.3.2-1) ...
Selecting previously unselected package libdvdread4:amd64.
Preparing to unpack .../28-libdvdread4_6.0.0-1_amd64.deb ...
Unpacking libdvdread4:amd64 (6.0.0-1) ...
Selecting previously unselected package libdvdnav4:amd64.
Preparing to unpack .../29-libdvdnav4_6.0.0-1_amd64.deb ...
Unpacking libdvdnav4:amd64 (6.0.0-1) ...
Selecting previously unselected package libebml4v5:amd64.
Preparing to unpack .../30-libebml4v5_1.3.5-2ubuntu0.1_amd64.deb ...
Unpacking libebml4v5:amd64 (1.3.5-2ubuntu0.1) ...
Selecting previously unselected package libfaad2:amd64.
Preparing to unpack .../31-libfaad2_2.8.8-1_amd64.deb ...
Unpacking libfaad2:amd64 (2.8.8-1) ...
Selecting previously unselected package libgroupsock8:amd64.
Preparing to unpack .../32-libgroupsock8_2018.02.18-1_amd64.deb ...
Unpacking libgroupsock8:amd64 (2018.02.18-1) ...
Selecting previously unselected package libkate1:amd64.
Preparing to unpack .../33-libkate1_0.4.1-7build1_amd64.deb ...
Unpacking libkate1:amd64 (0.4.1-7build1) ...
Selecting previously unselected package liblivemedia62:amd64.
Preparing to unpack .../34-liblivemedia62_2018.02.18-1_amd64.deb ...
Unpacking liblivemedia62:amd64 (2018.02.18-1) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../35-liblua5.2-0_5.2.4-1.1build1_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Selecting previously unselected package libmad0:amd64.
Preparing to unpack .../36-libmad0_0.15.1b-9ubuntu18.04.1_amd64.deb ...
Unpacking libmad0:amd64 (0.15.1b-9ubuntu18.04.1) ...
Selecting previously unselected package libmatroska6v5:amd64.
Preparing to unpack .../37-libmatroska6v5_1.4.8-1.1_amd64.deb ...
Unpacking libmatroska6v5:amd64 (1.4.8-1.1) ...
Selecting previously unselected package libmicrodns0:amd64.
Preparing to unpack .../38-libmicrodns0_0.0.8-1_amd64.deb ...
Unpacking libmicrodns0:amd64 (0.0.8-1) ...
Selecting previously unselected package libmpcdec6:amd64.
Preparing to unpack .../39-libmpcdec6_2%3a0.1~r495-1_amd64.deb ...
Unpacking libmpcdec6:amd64 (2:0.1~r495-1) ...
Selecting previously unselected package libmpeg2-4:amd64.
Preparing to unpack .../40-libmpeg2-4_0.5.1-8_amd64.deb ...
Unpacking libmpeg2-4:amd64 (0.5.1-8) ...
Selecting previously unselected package libmtp-runtime.
Preparing to unpack .../41-libmtp-runtime_1.1.13-1_amd64.deb ...
Unpacking libmtp-runtime (1.1.13-1) ...
Selecting previously unselected package libnfs11:amd64.
Preparing to unpack .../42-libnfs11_2.0.0-1~exp1_amd64.deb ...
Unpacking libnfs11:amd64 (2.0.0-1~exp1) ...
Selecting previously unselected package libnotify4:amd64.
Preparing to unpack .../43-libnotify4_0.7.7-3_amd64.deb ...
Unpacking libnotify4:amd64 (0.7.7-3) ...
Selecting previously unselected package libopenmpt-modplug1:amd64.
Preparing to unpack .../44-libopenmpt-modplug1_0.3.6-1_amd64.deb ...
Unpacking libopenmpt-modplug1:amd64 (0.3.6-1) ...
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../45-libvulkan1_1.1.126.0-2~gpu18.04.1_amd64.deb ...
Unpacking libvulkan1:amd64 (1.1.126.0-2~gpu18.04.1) ...
Selecting previously unselected package libplacebo4:amd64.
Preparing to unpack .../46-libplacebo4_0.4.0-2_amd64.deb ...
Unpacking libplacebo4:amd64 (0.4.0-2) ...
Selecting previously unselected package libprotobuf-lite10:amd64.
Preparing to unpack .../47-libprotobuf-lite10_3.0.0-9.1ubuntu1_amd64.deb ...
Unpacking libprotobuf-lite10:amd64 (3.0.0-9.1ubuntu1) ...
Selecting previously unselected package libproxy-tools.
Preparing to unpack .../48-libproxy-tools_0.4.15-1ubuntu0.2_amd64.deb ...
Unpacking libproxy-tools (0.4.15-1ubuntu0.2) ...
Selecting previously unselected package libqt5x11extras5:amd64.
Preparing to unpack .../49-libqt5x11extras5_5.9.5-0ubuntu1_amd64.deb ...
Unpacking libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Selecting previously unselected package libresid-builder0c2a.
Preparing to unpack .../50-libresid-builder0c2a_2.1.1-15ubuntu1_amd64.deb ...
Unpacking libresid-builder0c2a (2.1.1-15ubuntu1) ...
Selecting previously unselected package libsdl1.2debian:amd64.
Preparing to unpack .../51-libsdl1.2debian_1.2.15+dfsg2-0.1ubuntu0.1_amd64.deb ...
Unpacking libsdl1.2debian:amd64 (1.2.15+dfsg2-0.1ubuntu0.1) ...
Selecting previously unselected package libsdl-image1.2:amd64.
Preparing to unpack .../52-libsdl-image1.2_1.2.12-8ubuntu0.1_amd64.deb ...
Unpacking libsdl-image1.2:amd64 (1.2.12-8ubuntu0.1) ...
Selecting previously unselected package libsecret-common.
Preparing to unpack .../53-libsecret-common_0.18.6-1_all.deb ...
Unpacking libsecret-common (0.18.6-1) ...
Selecting previously unselected package libsecret-1-0:amd64.
Preparing to unpack .../54-libsecret-1-0_0.18.6-1_amd64.deb ...
Unpacking libsecret-1-0:amd64 (0.18.6-1) ...
Selecting previously unselected package libshout3:amd64.
Preparing to unpack .../55-libshout3_2.4.1-2build1_amd64.deb ...
Unpacking libshout3:amd64 (2.4.1-2build1) ...
Selecting previously unselected package libsidplay2.
Preparing to unpack .../56-libsidplay2_2.1.1-15ubuntu1_amd64.deb ...
Unpacking libsidplay2 (2.1.1-15ubuntu1) ...
Selecting previously unselected package libspeexdsp1:amd64.
Preparing to unpack .../57-libspeexdsp1_1.2~rc1.2-1ubuntu2_amd64.deb ...
Unpacking libspeexdsp1:amd64 (1.2~rc1.2-1ubuntu2) ...
Selecting previously unselected package libtag1v5-vanilla:amd64.
Preparing to unpack .../58-libtag1v5-vanilla_1.11.1+dfsg.1-0.2build2_amd64.deb ...
Unpacking libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-0.2build2) ...
Selecting previously unselected package libtag1v5:amd64.
Preparing to unpack .../59-libtag1v5_1.11.1+dfsg.1-0.2build2_amd64.deb ...
Unpacking libtag1v5:amd64 (1.11.1+dfsg.1-0.2build2) ...
Selecting previously unselected package libusageenvironment3:amd64.
Preparing to unpack .../60-libusageenvironment3_2018.02.18-1_amd64.deb ...
Unpacking libusageenvironment3:amd64 (2018.02.18-1) ...
Selecting previously unselected package libva-wayland2:amd64.
Preparing to unpack .../61-libva-wayland2_2.1.0-3_amd64.deb ...
Unpacking libva-wayland2:amd64 (2.1.0-3) ...
Selecting previously unselected package libvlccore9:amd64.
Preparing to unpack .../62-libvlccore9_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking libvlccore9:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package libvlc5:amd64.
Preparing to unpack .../63-libvlc5_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking libvlc5:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package libvlc-bin:amd64.
Preparing to unpack .../64-libvlc-bin_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking libvlc-bin:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package libxcb-xv0:amd64.
Preparing to unpack .../65-libxcb-xv0_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-xv0:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package mesa-vulkan-drivers:amd64.
Preparing to unpack .../66-mesa-vulkan-drivers_20.0.8-0ubuntu1~18.04.1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Selecting previously unselected package notification-daemon.
Preparing to unpack .../67-notification-daemon_3.20.0-3_amd64.deb ...
Unpacking notification-daemon (3.20.0-3) ...
Selecting previously unselected package vlc-bin.
Preparing to unpack .../68-vlc-bin_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-bin (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-data.
Preparing to unpack .../69-vlc-data_3.0.8-0ubuntu18.04.1_all.deb ...
Unpacking vlc-data (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package libdca0:amd64.
Preparing to unpack .../70-libdca0_0.0.5-10_amd64.deb ...
Unpacking libdca0:amd64 (0.0.5-10) ...
Selecting previously unselected package liblirc-client0:amd64.
Preparing to unpack .../71-liblirc-client0_0.10.0-2_amd64.deb ...
Unpacking liblirc-client0:amd64 (0.10.0-2) ...
Selecting previously unselected package libupnp6:amd64.
Preparing to unpack .../72-libupnp6_1%3a1.6.24-4_amd64.deb ...
Unpacking libupnp6:amd64 (1:1.6.24-4) ...
Selecting previously unselected package vlc-plugin-base:amd64.
Preparing to unpack .../73-vlc-plugin-base_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-base:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-qt:amd64.
Preparing to unpack .../74-vlc-plugin-qt_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-qt:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-video-output:amd64.
Preparing to unpack .../75-vlc-plugin-video-output_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-video-output:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc.
Preparing to unpack .../76-vlc_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-l10n.
Preparing to unpack .../77-vlc-l10n_3.0.8-0ubuntu18.04.1_all.deb ...
Unpacking vlc-l10n (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-notify:amd64.
Preparing to unpack .../78-vlc-plugin-notify_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-notify:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-samba:amd64.
Preparing to unpack .../79-vlc-plugin-samba_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-samba:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-skins2:amd64.
Preparing to unpack .../80-vlc-plugin-skins2_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-skins2:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-video-splitter:amd64.
Preparing to unpack .../81-vlc-plugin-video-splitter_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-video-splitter:amd64 (3.0.8-0ubuntu18.04.1) ...
Selecting previously unselected package vlc-plugin-visualization:amd64.
Preparing to unpack .../82-vlc-plugin-visualization_3.0.8-0ubuntu18.04.1_amd64.deb ...
Unpacking vlc-plugin-visualization:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libvulkan1:amd64 (1.1.126.0-2~gpu18.04.1) ...
Setting up libnotify4:amd64 (0.7.7-3) ...
Setting up libmpeg2-4:amd64 (0.5.1-8) ...
Setting up libtdb1:amd64 (1.3.15-2) ...
Setting up libsecret-common (0.18.6-1) ...
Setting up libwbclient0:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Setting up mesa-vulkan-drivers:amd64 (20.0.8-0ubuntu1~18.04.1) ...
Setting up libusageenvironment3:amd64 (2018.02.18-1) ...
Setting up libplacebo4:amd64 (0.4.0-2) ...
Setting up libqt5x11extras5:amd64 (5.9.5-0ubuntu1) ...
Setting up libpam-cap:amd64 (1:2.25-1.2) ...
Setting up vlc-data (3.0.8-0ubuntu18.04.1) ...
Setting up libdvbpsi10:amd64 (1.3.2-1) ...
Setting up libmpcdec6:amd64 (2:0.1~r495-1) ...
Setting up libgpm2:amd64 (1.20.7-5) ...
Setting up libaribb24-0:amd64 (1.0.3-1) ...
Setting up libcap2-bin (1:2.25-1.2) ...
Setting up libbasicusageenvironment1:amd64 (2018.02.18-1) ...
Setting up libproxy-tools (0.4.15-1ubuntu0.2) ...
Setting up libmicrodns0:amd64 (0.0.8-1) ...
Setting up libebml4v5:amd64 (1.3.5-2ubuntu0.1) ...
Setting up libva-wayland2:amd64 (2.1.0-3) ...
Setting up libfaad2:amd64 (2.8.8-1) ...
Setting up libkate1:amd64 (0.4.1-7build1) ...
Setting up liblirc-client0:amd64 (0.10.0-2) ...
Setting up libsdl1.2debian:amd64 (1.2.15+dfsg2-0.1ubuntu0.1) ...
Setting up libcdparanoia0:amd64 (3.10.2+debian-13) ...
Setting up vlc-l10n (3.0.8-0ubuntu18.04.1) ...
Setting up libnfs11:amd64 (2.0.0-1~exp1) ...
Setting up libmtp-common (1.1.13-1) ...
Setting up liba52-0.7.4:amd64 (0.7.4-19) ...
Setting up libaa1:amd64 (1.4p5-44build2) ...
Setting up libupnp6:amd64 (1:1.6.24-4) ...
Setting up libvlccore9:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libxcb-xv0:amd64 (1.13-2~ubuntu18.04) ...
Setting up libqt5svg5:amd64 (5.9.5-0ubuntu1) ...
Setting up vlc-plugin-video-splitter:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libcddb2 (1.3.2-5fakesync1) ...
Setting up libmtp9:amd64 (1.1.13-1) ...
Setting up libvisual-0.4-0:amd64 (0.4.0-11) ...
Setting up libgroupsock8:amd64 (2018.02.18-1) ...
Setting up vlc-plugin-visualization:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libtalloc2:amd64 (2.1.10-2ubuntu1) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1build1) ...
Setting up liborc-0.4-0:amd64 (1:0.4.28-1) ...
Setting up libsdl-image1.2:amd64 (1.2.12-8ubuntu0.1) ...
Setting up libmad0:amd64 (0.15.1b-9ubuntu18.04.1) ...
Setting up vlc-plugin-notify:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libresid-builder0c2a (2.1.1-15ubuntu1) ...
Setting up libsidplay2 (2.1.1-15ubuntu1) ...
Setting up libdca0:amd64 (0.0.5-10) ...
Setting up liblivemedia62:amd64 (2018.02.18-1) ...
Setting up fonts-freefont-ttf (20120503-7) ...
Setting up libprotobuf-lite10:amd64 (3.0.0-9.1ubuntu1) ...
Setting up libshout3:amd64 (2.4.1-2build1) ...
Setting up libsecret-1-0:amd64 (0.18.6-1) ...
Setting up libopenmpt-modplug1:amd64 (0.3.6-1) ...
Setting up libspeexdsp1:amd64 (1.2~rc1.2-1ubuntu2) ...
Setting up libtag1v5-vanilla:amd64 (1.11.1+dfsg.1-0.2build2) ...
Setting up notification-daemon (3.20.0-3) ...
Setting up libdvdread4:amd64 (6.0.0-1) ...
Setting up python-talloc (2.1.10-2ubuntu1) ...
Setting up libmatroska6v5:amd64 (1.4.8-1.1) ...
Setting up libvlc5:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libtag1v5:amd64 (1.11.1+dfsg.1-0.2build2) ...
Setting up libgstreamer1.0-0:amd64 (1.14.5-0ubuntu1~18.04.2) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up libdvdnav4:amd64 (6.0.0-1) ...
Setting up vlc-plugin-qt:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libmtp-runtime (1.1.13-1) ...
Setting up libtevent0:amd64 (0.9.34-1) ...
Setting up vlc-plugin-video-output:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up libvlc-bin:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up vlc-plugin-skins2:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up vlc-plugin-base:amd64 (3.0.8-0ubuntu18.04.1) ...
Setting up vlc-bin (3.0.8-0ubuntu18.04.1) ...
Setting up libgstreamer-plugins-base1.0-0:amd64 (1.14.5-0ubuntu1~18.04.3) ...
Setting up gstreamer1.0-plugins-base:amd64 (1.14.5-0ubuntu1~18.04.3) ...
Setting up gstreamer1.0-libav:amd64 (1.14.5-0ubuntu1~18.04.1) ...
Setting up libldb1:amd64 (2:1.2.3-1ubuntu0.2) ...
Setting up vlc (3.0.8-0ubuntu18.04.1) ...
Setting up samba-libs:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Setting up libsmbclient:amd64 (2:4.7.6+dfsg~ubuntu-0ubuntu2.23) ...
Setting up vlc-plugin-samba:amd64 (3.0.8-0ubuntu18.04.1) ...
Processing triggers for udev (237-3ubuntu10.48) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
/sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link

Processing triggers for libvlc-bin:amd64 (3.0.8-0ubuntu18.04.1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
build-essential is already the newest version (12.4ubuntu1).
libvorbis-dev is already the newest version (1.3.5-4.2).
libvorbis-dev set to manually installed.
pkg-config is already the newest version (0.29.1-0ubuntu2).
zlib1g-dev is already the newest version (1:1.2.11.dfsg-0ubuntu2).
zlib1g-dev set to manually installed.
git is already the newest version (1:2.17.1-1ubuntu0.8).
libfreetype6-dev is already the newest version (2.8.1-2ubuntu2.1).
libxcb-xfixes0-dev is already the newest version (1.13-2~ubuntu18.04).
libxcb-xfixes0-dev set to manually installed.
libxcb1-dev is already the newest version (1.13-2~ubuntu18.04).
libxcb1-dev set to manually installed.
wget is already the newest version (1.19.4-1ubuntu2.2).
The following additional packages will be installed:
  autotools-dev cmake-data file gir1.2-ibus-1.0 libauthen-sasl-perl
  libcapnp-0.6.1 libdata-dump-perl libdbus-1-dev libencode-locale-perl
  libfile-listing-perl libfont-afm-perl libfribidi-dev libgmp-dev
  libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutlsxx28 libhogweed4
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libibus-1.0-5 libibus-1.0-dev libidn2-0-dev
  libidn2-dev libio-html-perl libio-socket-ssl-perl liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmagic-mgc libmagic1 libmailtools-perl
  libmirclient-dev libmirclient9 libmircommon-dev libmircommon7
  libmircookie-dev libmircookie2 libmircore-dev libmircore1 libmirprotobuf3
  libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libnettle6
  libp11-kit-dev libp11-kit0 libprotobuf-dev libpulse-dev
  libpulse-mainloop-glib0 libset-scalar-perl libsigsegv2 libsndio-dev
  libtasn1-6-dev libtasn1-doc libtext-unidecode-perl libtimedate-perl
  libtry-tiny-perl libudev-dev libudev1 libunbound2 liburi-perl libva-glx2
  libwww-perl libwww-robotrules-perl libxcursor-dev libxinerama-dev
  libxkbcommon-dev libxml-libxml-perl libxml-namespacesupport-perl
  libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl
  libxml-sax-perl libxrandr-dev libxv-dev m4 netbase nettle-dev
  perl-openssl-defaults tex-common udev x11proto-randr-dev
  x11proto-xinerama-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc gettext cmake-doc
  libdigest-hmac-perl libgssapi-perl gmp-doc libgmp10-doc libmpfr-dev
  dns-root-data gnutls-doc gnutls-bin libcrypt-ssleay-perl libtool-doc gcj-jdk
  libvdpau-doc libauthen-ntlm-perl m4-doc debhelper texlive-base
  texlive-latex-base texlive-generic-recommended texinfo-doc-nonfree
  texlive-fonts-recommended
The following NEW packages will be installed:
  autoconf automake autotools-dev file gir1.2-ibus-1.0 libass-dev
  libauthen-sasl-perl libcapnp-0.6.1 libdata-dump-perl libdbus-1-dev
  libencode-locale-perl libfile-listing-perl libfont-afm-perl libfribidi-dev
  libgmp-dev libgmpxx4ldbl libgnutls-dane0 libgnutls-openssl27 libgnutls28-dev
  libgnutlsxx28 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl
  libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
  libhttp-negotiate-perl libibus-1.0-5 libibus-1.0-dev libidn2-0-dev
  libidn2-dev libio-html-perl libio-socket-ssl-perl liblwp-mediatypes-perl
  liblwp-protocol-https-perl libmagic-mgc libmagic1 libmailtools-perl
  libmirclient-dev libmirclient9 libmircommon-dev libmircommon7
  libmircookie-dev libmircookie2 libmircore-dev libmircore1 libmirprotobuf3
  libnet-http-perl libnet-smtp-ssl-perl libnet-ssleay-perl libp11-kit-dev
  libprotobuf-dev libpulse-dev libpulse-mainloop-glib0 libsdl2-dev
  libset-scalar-perl libsigsegv2 libsndio-dev libtasn1-6-dev libtasn1-doc
  libtext-unidecode-perl libtimedate-perl libtool libtry-tiny-perl libudev-dev
  libunbound2 liburi-perl libva-dev libva-glx2 libvdpau-dev libwww-perl
  libwww-robotrules-perl libxcb-shm0-dev libxcursor-dev libxinerama-dev
  libxkbcommon-dev libxml-libxml-perl libxml-namespacesupport-perl
  libxml-parser-perl libxml-sax-base-perl libxml-sax-expat-perl
  libxml-sax-perl libxrandr-dev libxv-dev m4 meson netbase nettle-dev
  ninja-build perl-openssl-defaults tex-common texinfo x11proto-randr-dev
  x11proto-xinerama-dev yasm
The following packages will be upgraded:
  cmake cmake-data libhogweed4 libnettle6 libp11-kit0 libudev1 udev
7 upgraded, 98 newly installed, 0 to remove and 91 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 65.4 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 libvdpau-dev amd64 1.3-0ubuntu0~gpu18.04.2 [42.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 tex-common all 6.09 [33.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 udev amd64 237-3ubuntu10.50 [1,101 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev1 amd64 237-3ubuntu10.50 [56.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnettle6 amd64 3.4.1-0ubuntu0.18.04.1 [111 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libhogweed4 amd64 3.4.1-0ubuntu0.18.04.1 [140 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libp11-kit0 amd64 0.23.9-2ubuntu0.1 [187 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.4 [184 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.4 [68.6 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.4 [22.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 libsigsegv2 amd64 2.12-1 [14.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 m4 amd64 1.4.18-1 [197 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 autoconf all 2.69-11 [322 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 autotools-dev all 20180224.1 [39.6 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/main amd64 automake all 1:1.15.1-3ubuntu2 [509 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cmake amd64 3.10.2-1ubuntu2.18.04.2 [3,152 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cmake-data all 3.10.2-1ubuntu2.18.04.2 [1,332 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libibus-1.0-5 amd64 1.5.17-3ubuntu5.3 [133 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gir1.2-ibus-1.0 amd64 1.5.17-3ubuntu5.3 [66.5 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcapnp-0.6.1 amd64 0.6.1-1ubuntu1 [658 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 libdata-dump-perl all 1.23-1 [27.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdbus-1-dev amd64 1.12.2-1ubuntu1.2 [165 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic/main amd64 libencode-locale-perl all 1.05-1 [12.3 kB]
Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtimedate-perl all 2.3000-2 [37.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-date-perl all 6.02-1 [10.4 kB]
Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-listing-perl all 6.04-1 [9,774 B]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfont-afm-perl all 1.20-2 [13.2 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfribidi-dev amd64 0.19.7-2 [42.5 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-2 [8,964 B]
Get:31 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-2 [316 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgnutls-openssl27 amd64 3.5.18-1ubuntu1.4 [21.1 kB]
Get:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgnutlsxx28 amd64 3.5.18-1ubuntu1.4 [13.7 kB]
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libunbound2 amd64 1.6.7-1ubuntu2.4 [267 kB]
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgnutls-dane0 amd64 3.5.18-1ubuntu1.4 [21.0 kB]
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 nettle-dev amd64 3.4.1-0ubuntu0.18.04.1 [954 kB]
Get:37 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtasn1-6-dev amd64 4.13-2 [86.8 kB]
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libp11-kit-dev amd64 0.23.9-2ubuntu0.1 [60.9 kB]
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libidn2-dev amd64 2.0.4-1.1ubuntu0.2 [61.8 kB]
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libidn2-0-dev amd64 2.0.4-1.1ubuntu0.2 [2,848 B]
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgnutls28-dev amd64 3.5.18-1ubuntu1.4 [660 kB]
Get:42 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tagset-perl all 3.20-3 [12.1 kB]
Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 liburi-perl all 1.73-1 [77.2 kB]
Get:44 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-parser-perl amd64 3.72-3build1 [85.9 kB]
Get:45 http://archive.ubuntu.com/ubuntu bionic/main amd64 libio-html-perl all 1.001-1 [14.9 kB]
Get:46 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-mediatypes-perl all 6.02-1 [21.7 kB]
Get:47 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-message-perl all 6.14-1 [72.1 kB]
Get:48 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-form-perl all 6.03-1 [23.5 kB]
Get:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-tree-perl all 5.07-1 [200 kB]
Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhtml-format-perl all 2.12-1 [41.3 kB]
Get:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-cookies-perl all 6.04-1 [17.2 kB]
Get:52 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-daemon-perl all 6.01-1 [17.0 kB]
Get:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libhttp-negotiate-perl all 6.00-2 [13.4 kB]
Get:54 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libibus-1.0-dev amd64 1.5.17-3ubuntu5.3 [145 kB]
Get:55 http://archive.ubuntu.com/ubuntu bionic/main amd64 perl-openssl-defaults amd64 3build1 [7,012 B]
Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libnet-ssleay-perl amd64 1.84-1ubuntu0.2 [283 kB]
Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libio-socket-ssl-perl all 2.060-3~ubuntu18.04.1 [173 kB]
Get:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnet-http-perl all 6.17-1 [22.7 kB]
Get:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtry-tiny-perl all 0.30-1 [20.5 kB]
Get:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 libwww-robotrules-perl all 6.01-1 [14.1 kB]
Get:61 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwww-perl all 6.31-1ubuntu0.1 [137 kB]
Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblwp-protocol-https-perl all 6.07-2 [8,284 B]
Get:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnet-smtp-ssl-perl all 1.04-1 [5,948 B]
Get:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmailtools-perl all 2.18-1 [74.0 kB]
Get:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircore1 amd64 0.31.1-0ubuntu1 [26.5 kB]
Get:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircommon7 amd64 0.31.1-0ubuntu1 [73.9 kB]
Get:67 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmirprotobuf3 amd64 0.31.1-0ubuntu1 [127 kB]
Get:68 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmirclient9 amd64 0.31.1-0ubuntu1 [199 kB]
Get:69 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircore-dev amd64 0.31.1-0ubuntu1 [21.7 kB]
Get:70 http://archive.ubuntu.com/ubuntu bionic/main amd64 libprotobuf-dev amd64 3.0.0-9.1ubuntu1 [959 kB]
Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxkbcommon-dev amd64 0.8.2-1~ubuntu18.04.1 [150 kB]
Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircommon-dev amd64 0.31.1-0ubuntu1 [13.9 kB]
Get:73 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircookie2 amd64 0.31.1-0ubuntu1 [19.7 kB]
Get:74 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmircookie-dev amd64 0.31.1-0ubuntu1 [4,392 B]
Get:75 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmirclient-dev amd64 0.31.1-0ubuntu1 [47.8 kB]
Get:76 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpulse-mainloop-glib0 amd64 1:11.1-1ubuntu7.11 [22.1 kB]
Get:77 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpulse-dev amd64 1:11.1-1ubuntu7.11 [81.5 kB]
Get:78 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libsndio-dev amd64 1.1.0-3 [13.3 kB]
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libudev-dev amd64 237-3ubuntu10.50 [19.1 kB]
Get:80 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxcursor-dev amd64 1:1.1.15-1 [26.5 kB]
Get:81 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-xinerama-dev all 2018.4-4 [2,628 B]
Get:82 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxinerama-dev amd64 2:1.1.3-1 [8,404 B]
Get:83 http://archive.ubuntu.com/ubuntu bionic/main amd64 x11proto-randr-dev all 2018.4-4 [2,620 B]
Get:84 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxrandr-dev amd64 2:1.5.1-1 [24.0 kB]
Get:85 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxv-dev amd64 2:1.0.11-1 [32.5 kB]
Get:86 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 libsdl2-dev amd64 2.0.8+dfsg1-1ubuntu1.18.04.4 [683 kB]
Get:87 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libtext-unidecode-perl all 1.30-1 [99.0 kB]
Get:88 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtool all 2.4.6-2 [194 kB]
Get:89 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libva-glx2 amd64 2.1.0-3 [10.6 kB]
Get:90 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libset-scalar-perl all 1.29-2 [27.9 kB]
Get:91 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libva-dev amd64 2.1.0-3 [84.3 kB]
Get:92 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxcb-shm0-dev amd64 1.13-2~ubuntu18.04 [6,684 B]
Get:93 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-namespacesupport-perl all 1.12-1 [13.2 kB]
Get:94 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-sax-base-perl all 1.09-1 [18.8 kB]
Get:95 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-sax-perl all 0.99+dfsg-2ubuntu1 [64.6 kB]
Get:96 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-libxml-perl amd64 2.0128+dfsg-5 [316 kB]
Get:97 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-parser-perl amd64 2.44-2build3 [199 kB]
Get:98 http://archive.ubuntu.com/ubuntu bionic/main amd64 libxml-sax-expat-perl all 0.40-2 [11.5 kB]
Get:99 http://archive.ubuntu.com/ubuntu bionic/universe amd64 ninja-build amd64 1.8.2-1 [93.3 kB]
Get:100 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 meson all 0.45.1-2ubuntu0.18.04.2 [216 kB]
Get:101 http://archive.ubuntu.com/ubuntu bionic/universe amd64 texinfo amd64 6.5.0.dfsg.1-2 [752 kB]
Get:102 http://archive.ubuntu.com/ubuntu bionic/universe amd64 yasm amd64 1.3.0-2build1 [406 kB]
Get:103 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libass-dev amd64 1:0.14.0-1 [106 kB]
Get:104 http://archive.ubuntu.com/ubuntu bionic/main amd64 libauthen-sasl-perl all 2.1600-1 [48.7 kB]
Get:105 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtasn1-doc all 4.13-2 [300 kB]
Fetched 18.2 MB in 5s (3,749 kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 105.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Selecting previously unselected package tex-common.
(Reading database ... 162391 files and directories currently installed.)
Preparing to unpack .../tex-common_6.09_all.deb ...
Unpacking tex-common (6.09) ...
Preparing to unpack .../udev_237-3ubuntu10.50_amd64.deb ...
Unpacking udev (237-3ubuntu10.50) over (237-3ubuntu10.48) ...
Preparing to unpack .../libudev1_237-3ubuntu10.50_amd64.deb ...
Unpacking libudev1:amd64 (237-3ubuntu10.50) over (237-3ubuntu10.48) ...
Setting up libudev1:amd64 (237-3ubuntu10.50) ...
(Reading database ... 162440 files and directories currently installed.)
Preparing to unpack .../libnettle6_3.4.1-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libnettle6:amd64 (3.4.1-0ubuntu0.18.04.1) over (3.4-1) ...
Setting up libnettle6:amd64 (3.4.1-0ubuntu0.18.04.1) ...
(Reading database ... 162440 files and directories currently installed.)
Preparing to unpack .../libhogweed4_3.4.1-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libhogweed4:amd64 (3.4.1-0ubuntu0.18.04.1) over (3.4-1) ...
Setting up libhogweed4:amd64 (3.4.1-0ubuntu0.18.04.1) ...
(Reading database ... 162440 files and directories currently installed.)
Preparing to unpack .../libp11-kit0_0.23.9-2ubuntu0.1_amd64.deb ...
Unpacking libp11-kit0:amd64 (0.23.9-2ubuntu0.1) over (0.23.9-2) ...
Setting up libp11-kit0:amd64 (0.23.9-2ubuntu0.1) ...
Selecting previously unselected package libmagic-mgc.
(Reading database ... 162440 files and directories currently installed.)
Preparing to unpack .../00-libmagic-mgc_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic-mgc (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../01-libmagic1_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package file.
Preparing to unpack .../02-file_1%3a5.32-2ubuntu0.4_amd64.deb ...
Unpacking file (1:5.32-2ubuntu0.4) ...
Selecting previously unselected package netbase.
Preparing to unpack .../03-netbase_5.4_all.deb ...
Unpacking netbase (5.4) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../04-libsigsegv2_2.12-1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.12-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../05-m4_1.4.18-1_amd64.deb ...
Unpacking m4 (1.4.18-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../06-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../07-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../08-automake_1%3a1.15.1-3ubuntu2_all.deb ...
Unpacking automake (1:1.15.1-3ubuntu2) ...
Preparing to unpack .../09-cmake_3.10.2-1ubuntu2.18.04.2_amd64.deb ...
Unpacking cmake (3.10.2-1ubuntu2.18.04.2) over (3.10.2-1ubuntu2.18.04.1) ...
Preparing to unpack .../10-cmake-data_3.10.2-1ubuntu2.18.04.2_all.deb ...
Unpacking cmake-data (3.10.2-1ubuntu2.18.04.2) over (3.10.2-1ubuntu2.18.04.1) ...
Selecting previously unselected package libibus-1.0-5:amd64.
Preparing to unpack .../11-libibus-1.0-5_1.5.17-3ubuntu5.3_amd64.deb ...
Unpacking libibus-1.0-5:amd64 (1.5.17-3ubuntu5.3) ...
Selecting previously unselected package gir1.2-ibus-1.0:amd64.
Preparing to unpack .../12-gir1.2-ibus-1.0_1.5.17-3ubuntu5.3_amd64.deb ...
Unpacking gir1.2-ibus-1.0:amd64 (1.5.17-3ubuntu5.3) ...
Selecting previously unselected package libcapnp-0.6.1:amd64.
Preparing to unpack .../13-libcapnp-0.6.1_0.6.1-1ubuntu1_amd64.deb ...
Unpacking libcapnp-0.6.1:amd64 (0.6.1-1ubuntu1) ...
Selecting previously unselected package libdata-dump-perl.
Preparing to unpack .../14-libdata-dump-perl_1.23-1_all.deb ...
Unpacking libdata-dump-perl (1.23-1) ...
Selecting previously unselected package libdbus-1-dev:amd64.
Preparing to unpack .../15-libdbus-1-dev_1.12.2-1ubuntu1.2_amd64.deb ...
Unpacking libdbus-1-dev:amd64 (1.12.2-1ubuntu1.2) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../16-libencode-locale-perl_1.05-1_all.deb ...
Unpacking libencode-locale-perl (1.05-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../17-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../18-libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libfile-listing-perl.
Preparing to unpack .../19-libfile-listing-perl_6.04-1_all.deb ...
Unpacking libfile-listing-perl (6.04-1) ...
Selecting previously unselected package libfont-afm-perl.
Preparing to unpack .../20-libfont-afm-perl_1.20-2_all.deb ...
Unpacking libfont-afm-perl (1.20-2) ...
Selecting previously unselected package libfribidi-dev.
Preparing to unpack .../21-libfribidi-dev_0.19.7-2_amd64.deb ...
Unpacking libfribidi-dev (0.19.7-2) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Preparing to unpack .../22-libgmpxx4ldbl_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package libgmp-dev:amd64.
Preparing to unpack .../23-libgmp-dev_2%3a6.1.2+dfsg-2_amd64.deb ...
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Selecting previously unselected package libgnutls-openssl27:amd64.
Preparing to unpack .../24-libgnutls-openssl27_3.5.18-1ubuntu1.4_amd64.deb ...
Unpacking libgnutls-openssl27:amd64 (3.5.18-1ubuntu1.4) ...
Selecting previously unselected package libgnutlsxx28:amd64.
Preparing to unpack .../25-libgnutlsxx28_3.5.18-1ubuntu1.4_amd64.deb ...
Unpacking libgnutlsxx28:amd64 (3.5.18-1ubuntu1.4) ...
Selecting previously unselected package libunbound2:amd64.
Preparing to unpack .../26-libunbound2_1.6.7-1ubuntu2.4_amd64.deb ...
Unpacking libunbound2:amd64 (1.6.7-1ubuntu2.4) ...
Selecting previously unselected package libgnutls-dane0:amd64.
Preparing to unpack .../27-libgnutls-dane0_3.5.18-1ubuntu1.4_amd64.deb ...
Unpacking libgnutls-dane0:amd64 (3.5.18-1ubuntu1.4) ...
Selecting previously unselected package nettle-dev:amd64.
Preparing to unpack .../28-nettle-dev_3.4.1-0ubuntu0.18.04.1_amd64.deb ...
Unpacking nettle-dev:amd64 (3.4.1-0ubuntu0.18.04.1) ...
Selecting previously unselected package libtasn1-6-dev:amd64.
Preparing to unpack .../29-libtasn1-6-dev_4.13-2_amd64.deb ...
Unpacking libtasn1-6-dev:amd64 (4.13-2) ...
Selecting previously unselected package libp11-kit-dev:amd64.
Preparing to unpack .../30-libp11-kit-dev_0.23.9-2ubuntu0.1_amd64.deb ...
Unpacking libp11-kit-dev:amd64 (0.23.9-2ubuntu0.1) ...
Selecting previously unselected package libidn2-dev:amd64.
Preparing to unpack .../31-libidn2-dev_2.0.4-1.1ubuntu0.2_amd64.deb ...
Unpacking libidn2-dev:amd64 (2.0.4-1.1ubuntu0.2) ...
Selecting previously unselected package libidn2-0-dev.
Preparing to unpack .../32-libidn2-0-dev_2.0.4-1.1ubuntu0.2_amd64.deb ...
Unpacking libidn2-0-dev (2.0.4-1.1ubuntu0.2) ...
Selecting previously unselected package libgnutls28-dev:amd64.
Preparing to unpack .../33-libgnutls28-dev_3.5.18-1ubuntu1.4_amd64.deb ...
Unpacking libgnutls28-dev:amd64 (3.5.18-1ubuntu1.4) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../34-libhtml-tagset-perl_3.20-3_all.deb ...
Unpacking libhtml-tagset-perl (3.20-3) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../35-liburi-perl_1.73-1_all.deb ...
Unpacking liburi-perl (1.73-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../36-libhtml-parser-perl_3.72-3build1_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-3build1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../37-libio-html-perl_1.001-1_all.deb ...
Unpacking libio-html-perl (1.001-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../38-liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../39-libhttp-message-perl_6.14-1_all.deb ...
Unpacking libhttp-message-perl (6.14-1) ...
Selecting previously unselected package libhtml-form-perl.
Preparing to unpack .../40-libhtml-form-perl_6.03-1_all.deb ...
Unpacking libhtml-form-perl (6.03-1) ...
Selecting previously unselected package libhtml-tree-perl.
Preparing to unpack .../41-libhtml-tree-perl_5.07-1_all.deb ...
Unpacking libhtml-tree-perl (5.07-1) ...
Selecting previously unselected package libhtml-format-perl.
Preparing to unpack .../42-libhtml-format-perl_2.12-1_all.deb ...
Unpacking libhtml-format-perl (2.12-1) ...
Selecting previously unselected package libhttp-cookies-perl.
Preparing to unpack .../43-libhttp-cookies-perl_6.04-1_all.deb ...
Unpacking libhttp-cookies-perl (6.04-1) ...
Selecting previously unselected package libhttp-daemon-perl.
Preparing to unpack .../44-libhttp-daemon-perl_6.01-1_all.deb ...
Unpacking libhttp-daemon-perl (6.01-1) ...
Selecting previously unselected package libhttp-negotiate-perl.
Preparing to unpack .../45-libhttp-negotiate-perl_6.00-2_all.deb ...
Unpacking libhttp-negotiate-perl (6.00-2) ...
Selecting previously unselected package libibus-1.0-dev:amd64.
Preparing to unpack .../46-libibus-1.0-dev_1.5.17-3ubuntu5.3_amd64.deb ...
Unpacking libibus-1.0-dev:amd64 (1.5.17-3ubuntu5.3) ...
Selecting previously unselected package perl-openssl-defaults:amd64.
Preparing to unpack .../47-perl-openssl-defaults_3build1_amd64.deb ...
Unpacking perl-openssl-defaults:amd64 (3build1) ...
Selecting previously unselected package libnet-ssleay-perl.
Preparing to unpack .../48-libnet-ssleay-perl_1.84-1ubuntu0.2_amd64.deb ...
Unpacking libnet-ssleay-perl (1.84-1ubuntu0.2) ...
Selecting previously unselected package libio-socket-ssl-perl.
Preparing to unpack .../49-libio-socket-ssl-perl_2.060-3~ubuntu18.04.1_all.deb ...
Unpacking libio-socket-ssl-perl (2.060-3~ubuntu18.04.1) ...
Selecting previously unselected package libnet-http-perl.
Preparing to unpack .../50-libnet-http-perl_6.17-1_all.deb ...
Unpacking libnet-http-perl (6.17-1) ...
Selecting previously unselected package libtry-tiny-perl.
Preparing to unpack .../51-libtry-tiny-perl_0.30-1_all.deb ...
Unpacking libtry-tiny-perl (0.30-1) ...
Selecting previously unselected package libwww-robotrules-perl.
Preparing to unpack .../52-libwww-robotrules-perl_6.01-1_all.deb ...
Unpacking libwww-robotrules-perl (6.01-1) ...
Selecting previously unselected package libwww-perl.
Preparing to unpack .../53-libwww-perl_6.31-1ubuntu0.1_all.deb ...
Unpacking libwww-perl (6.31-1ubuntu0.1) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Preparing to unpack .../54-liblwp-protocol-https-perl_6.07-2_all.deb ...
Unpacking liblwp-protocol-https-perl (6.07-2) ...
Selecting previously unselected package libnet-smtp-ssl-perl.
Preparing to unpack .../55-libnet-smtp-ssl-perl_1.04-1_all.deb ...
Unpacking libnet-smtp-ssl-perl (1.04-1) ...
Selecting previously unselected package libmailtools-perl.
Preparing to unpack .../56-libmailtools-perl_2.18-1_all.deb ...
Unpacking libmailtools-perl (2.18-1) ...
Selecting previously unselected package libmircore1:amd64.
Preparing to unpack .../57-libmircore1_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircore1:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmircommon7:amd64.
Preparing to unpack .../58-libmircommon7_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircommon7:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmirprotobuf3:amd64.
Preparing to unpack .../59-libmirprotobuf3_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmirprotobuf3:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmirclient9:amd64.
Preparing to unpack .../60-libmirclient9_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmirclient9:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmircore-dev:amd64.
Preparing to unpack .../61-libmircore-dev_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircore-dev:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libprotobuf-dev:amd64.
Preparing to unpack .../62-libprotobuf-dev_3.0.0-9.1ubuntu1_amd64.deb ...
Unpacking libprotobuf-dev:amd64 (3.0.0-9.1ubuntu1) ...
Selecting previously unselected package libxkbcommon-dev:amd64.
Preparing to unpack .../63-libxkbcommon-dev_0.8.2-1~ubuntu18.04.1_amd64.deb ...
Unpacking libxkbcommon-dev:amd64 (0.8.2-1~ubuntu18.04.1) ...
Selecting previously unselected package libmircommon-dev:amd64.
Preparing to unpack .../64-libmircommon-dev_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircommon-dev:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmircookie2:amd64.
Preparing to unpack .../65-libmircookie2_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircookie2:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmircookie-dev:amd64.
Preparing to unpack .../66-libmircookie-dev_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmircookie-dev:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libmirclient-dev:amd64.
Preparing to unpack .../67-libmirclient-dev_0.31.1-0ubuntu1_amd64.deb ...
Unpacking libmirclient-dev:amd64 (0.31.1-0ubuntu1) ...
Selecting previously unselected package libpulse-mainloop-glib0:amd64.
Preparing to unpack .../68-libpulse-mainloop-glib0_1%3a11.1-1ubuntu7.11_amd64.deb ...
Unpacking libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ...
Selecting previously unselected package libpulse-dev:amd64.
Preparing to unpack .../69-libpulse-dev_1%3a11.1-1ubuntu7.11_amd64.deb ...
Unpacking libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ...
Selecting previously unselected package libsndio-dev:amd64.
Preparing to unpack .../70-libsndio-dev_1.1.0-3_amd64.deb ...
Unpacking libsndio-dev:amd64 (1.1.0-3) ...
Selecting previously unselected package libudev-dev:amd64.
Preparing to unpack .../71-libudev-dev_237-3ubuntu10.50_amd64.deb ...
Unpacking libudev-dev:amd64 (237-3ubuntu10.50) ...
Selecting previously unselected package libxcursor-dev:amd64.
Preparing to unpack .../72-libxcursor-dev_1%3a1.1.15-1_amd64.deb ...
Unpacking libxcursor-dev:amd64 (1:1.1.15-1) ...
Selecting previously unselected package x11proto-xinerama-dev.
Preparing to unpack .../73-x11proto-xinerama-dev_2018.4-4_all.deb ...
Unpacking x11proto-xinerama-dev (2018.4-4) ...
Selecting previously unselected package libxinerama-dev:amd64.
Preparing to unpack .../74-libxinerama-dev_2%3a1.1.3-1_amd64.deb ...
Unpacking libxinerama-dev:amd64 (2:1.1.3-1) ...
Selecting previously unselected package x11proto-randr-dev.
Preparing to unpack .../75-x11proto-randr-dev_2018.4-4_all.deb ...
Unpacking x11proto-randr-dev (2018.4-4) ...
Selecting previously unselected package libxrandr-dev:amd64.
Preparing to unpack .../76-libxrandr-dev_2%3a1.5.1-1_amd64.deb ...
Unpacking libxrandr-dev:amd64 (2:1.5.1-1) ...
Selecting previously unselected package libxv-dev:amd64.
Preparing to unpack .../77-libxv-dev_2%3a1.0.11-1_amd64.deb ...
Unpacking libxv-dev:amd64 (2:1.0.11-1) ...
Selecting previously unselected package libsdl2-dev:amd64.
Preparing to unpack .../78-libsdl2-dev_2.0.8+dfsg1-1ubuntu1.18.04.4_amd64.deb ...
Unpacking libsdl2-dev:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.4) ...
Selecting previously unselected package libtext-unidecode-perl.
Preparing to unpack .../79-libtext-unidecode-perl_1.30-1_all.deb ...
Unpacking libtext-unidecode-perl (1.30-1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../80-libtool_2.4.6-2_all.deb ...
Unpacking libtool (2.4.6-2) ...
Selecting previously unselected package libva-glx2:amd64.
Preparing to unpack .../81-libva-glx2_2.1.0-3_amd64.deb ...
Unpacking libva-glx2:amd64 (2.1.0-3) ...
Selecting previously unselected package libset-scalar-perl.
Preparing to unpack .../82-libset-scalar-perl_1.29-2_all.deb ...
Unpacking libset-scalar-perl (1.29-2) ...
Selecting previously unselected package libva-dev:amd64.
Preparing to unpack .../83-libva-dev_2.1.0-3_amd64.deb ...
Unpacking libva-dev:amd64 (2.1.0-3) ...
Selecting previously unselected package libvdpau-dev:amd64.
Preparing to unpack .../84-libvdpau-dev_1.3-0ubuntu0~gpu18.04.2_amd64.deb ...
Unpacking libvdpau-dev:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Selecting previously unselected package libxcb-shm0-dev:amd64.
Preparing to unpack .../85-libxcb-shm0-dev_1.13-2~ubuntu18.04_amd64.deb ...
Unpacking libxcb-shm0-dev:amd64 (1.13-2~ubuntu18.04) ...
Selecting previously unselected package libxml-namespacesupport-perl.
Preparing to unpack .../86-libxml-namespacesupport-perl_1.12-1_all.deb ...
Unpacking libxml-namespacesupport-perl (1.12-1) ...
Selecting previously unselected package libxml-sax-base-perl.
Preparing to unpack .../87-libxml-sax-base-perl_1.09-1_all.deb ...
Unpacking libxml-sax-base-perl (1.09-1) ...
Selecting previously unselected package libxml-sax-perl.
Preparing to unpack .../88-libxml-sax-perl_0.99+dfsg-2ubuntu1_all.deb ...
Unpacking libxml-sax-perl (0.99+dfsg-2ubuntu1) ...
Selecting previously unselected package libxml-libxml-perl.
Preparing to unpack .../89-libxml-libxml-perl_2.0128+dfsg-5_amd64.deb ...
Unpacking libxml-libxml-perl (2.0128+dfsg-5) ...
Selecting previously unselected package libxml-parser-perl.
Preparing to unpack .../90-libxml-parser-perl_2.44-2build3_amd64.deb ...
Unpacking libxml-parser-perl (2.44-2build3) ...
Selecting previously unselected package libxml-sax-expat-perl.
Preparing to unpack .../91-libxml-sax-expat-perl_0.40-2_all.deb ...
Unpacking libxml-sax-expat-perl (0.40-2) ...
Selecting previously unselected package ninja-build.
Preparing to unpack .../92-ninja-build_1.8.2-1_amd64.deb ...
Unpacking ninja-build (1.8.2-1) ...
Selecting previously unselected package meson.
Preparing to unpack .../93-meson_0.45.1-2ubuntu0.18.04.2_all.deb ...
Unpacking meson (0.45.1-2ubuntu0.18.04.2) ...
Selecting previously unselected package texinfo.
Preparing to unpack .../94-texinfo_6.5.0.dfsg.1-2_amd64.deb ...
Unpacking texinfo (6.5.0.dfsg.1-2) ...
Selecting previously unselected package yasm.
Preparing to unpack .../95-yasm_1.3.0-2build1_amd64.deb ...
Unpacking yasm (1.3.0-2build1) ...
Selecting previously unselected package libass-dev:amd64.
Preparing to unpack .../96-libass-dev_1%3a0.14.0-1_amd64.deb ...
Unpacking libass-dev:amd64 (1:0.14.0-1) ...
Selecting previously unselected package libauthen-sasl-perl.
Preparing to unpack .../97-libauthen-sasl-perl_2.1600-1_all.deb ...
Unpacking libauthen-sasl-perl (2.1600-1) ...
Selecting previously unselected package libtasn1-doc.
Preparing to unpack .../98-libtasn1-doc_4.13-2_all.deb ...
Unpacking libtasn1-doc (4.13-2) ...
Setting up libhtml-tagset-perl (3.20-3) ...
Setting up yasm (1.3.0-2build1) ...
Setting up libdbus-1-dev:amd64 (1.12.2-1ubuntu1.2) ...
Setting up libxcursor-dev:amd64 (1:1.1.15-1) ...
Setting up libva-glx2:amd64 (2.1.0-3) ...
Setting up libtry-tiny-perl (0.30-1) ...
Setting up libunbound2:amd64 (1.6.7-1ubuntu2.4) ...
Setting up libfont-afm-perl (1.20-2) ...
Setting up libxkbcommon-dev:amd64 (0.8.2-1~ubuntu18.04.1) ...
Setting up libpulse-mainloop-glib0:amd64 (1:11.1-1ubuntu7.11) ...
Setting up libpulse-dev:amd64 (1:11.1-1ubuntu7.11) ...
Setting up tex-common (6.09) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
update-language: texlive-base not installed and configured, doing nothing!
Setting up libvdpau-dev:amd64 (1.3-0ubuntu0~gpu18.04.2) ...
Setting up libxml-namespacesupport-perl (1.12-1) ...
Setting up libmircore-dev:amd64 (0.31.1-0ubuntu1) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up libsigsegv2:amd64 (2.12-1) ...
Setting up perl-openssl-defaults:amd64 (3build1) ...
Setting up libset-scalar-perl (1.29-2) ...
Setting up libmirprotobuf3:amd64 (0.31.1-0ubuntu1) ...
Setting up libsndio-dev:amd64 (1.1.0-3) ...
Setting up libio-html-perl (1.001-1) ...
Setting up libprotobuf-dev:amd64 (3.0.0-9.1ubuntu1) ...
Setting up libtext-unidecode-perl (1.30-1) ...
Setting up libxcb-shm0-dev:amd64 (1.13-2~ubuntu18.04) ...
Setting up libp11-kit-dev:amd64 (0.23.9-2ubuntu0.1) ...
Setting up libtasn1-6-dev:amd64 (4.13-2) ...
Setting up cmake-data (3.10.2-1ubuntu2.18.04.2) ...
Setting up m4 (1.4.18-1) ...
Setting up libmagic-mgc (1:5.32-2ubuntu0.4) ...
Setting up libmagic1:amd64 (1:5.32-2ubuntu0.4) ...
Setting up libtasn1-doc (4.13-2) ...
Setting up libxml-sax-base-perl (1.09-1) ...
Setting up libmircookie2:amd64 (0.31.1-0ubuntu1) ...
Setting up libgnutlsxx28:amd64 (3.5.18-1ubuntu1.4) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libfribidi-dev (0.19.7-2) ...
Setting up x11proto-xinerama-dev (2018.4-4) ...
Setting up autotools-dev (20180224.1) ...
Setting up udev (237-3ubuntu10.50) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up libgnutls-dane0:amd64 (3.5.18-1ubuntu1.4) ...
Setting up liburi-perl (1.73-1) ...
Setting up x11proto-randr-dev (2018.4-4) ...
Setting up libxinerama-dev:amd64 (2:1.1.3-1) ...
Setting up libdata-dump-perl (1.23-1) ...
Setting up libgnutls-openssl27:amd64 (3.5.18-1ubuntu1.4) ...
Setting up libva-dev:amd64 (2.1.0-3) ...
Setting up libxv-dev:amd64 (2:1.0.11-1) ...
Setting up libhtml-parser-perl (3.72-3build1) ...
Setting up libcapnp-0.6.1:amd64 (0.6.1-1ubuntu1) ...
Setting up libnet-http-perl (6.17-1) ...
Setting up libibus-1.0-5:amd64 (1.5.17-3ubuntu5.3) ...
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-2) ...
Setting up libmircore1:amd64 (0.31.1-0ubuntu1) ...
Setting up cmake (3.10.2-1ubuntu2.18.04.2) ...
Setting up libidn2-dev:amd64 (2.0.4-1.1ubuntu0.2) ...
Setting up libudev-dev:amd64 (237-3ubuntu10.50) ...
Setting up ninja-build (1.8.2-1) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up libidn2-0-dev (2.0.4-1.1ubuntu0.2) ...
Setting up libauthen-sasl-perl (2.1600-1) ...
Setting up netbase (5.4) ...
Setting up libxml-sax-perl (0.99+dfsg-2ubuntu1) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline

Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-2) ...
Setting up gir1.2-ibus-1.0:amd64 (1.5.17-3ubuntu5.3) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libxrandr-dev:amd64 (2:1.5.1-1) ...
Setting up libnet-ssleay-perl (1.84-1ubuntu0.2) ...
Setting up autoconf (2.69-11) ...
Setting up libmircookie-dev:amd64 (0.31.1-0ubuntu1) ...
Setting up file (1:5.32-2ubuntu0.4) ...
Setting up libass-dev:amd64 (1:0.14.0-1) ...
Setting up libio-socket-ssl-perl (2.060-3~ubuntu18.04.1) ...
Setting up libhtml-tree-perl (5.07-1) ...
Setting up libibus-1.0-dev:amd64 (1.5.17-3ubuntu5.3) ...
Setting up automake (1:1.15.1-3ubuntu2) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-listing-perl (6.04-1) ...
Setting up meson (0.45.1-2ubuntu0.18.04.2) ...
Setting up libmircommon7:amd64 (0.31.1-0ubuntu1) ...
Setting up libhttp-message-perl (6.14-1) ...
Setting up nettle-dev:amd64 (3.4.1-0ubuntu0.18.04.1) ...
Setting up libxml-libxml-perl (2.0128+dfsg-5) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50...
update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libtool (2.4.6-2) ...
Setting up libnet-smtp-ssl-perl (1.04-1) ...
Setting up libhtml-format-perl (2.12-1) ...
Setting up libhttp-cookies-perl (6.04-1) ...
Setting up libhttp-daemon-perl (6.01-1) ...
Setting up libmirclient9:amd64 (0.31.1-0ubuntu1) ...
Setting up libgnutls28-dev:amd64 (3.5.18-1ubuntu1.4) ...
Setting up libmircommon-dev:amd64 (0.31.1-0ubuntu1) ...
Setting up libhtml-form-perl (6.03-1) ...
Setting up texinfo (6.5.0.dfsg.1-2) ...
Setting up libmailtools-perl (2.18-1) ...
Setting up libmirclient-dev:amd64 (0.31.1-0ubuntu1) ...
Setting up libsdl2-dev:amd64 (2.0.8+dfsg1-1ubuntu1.18.04.4) ...
Setting up liblwp-protocol-https-perl (6.07-2) ...
Setting up libwww-perl (6.31-1ubuntu0.1) ...
Setting up libxml-parser-perl (2.44-2build3) ...
Setting up libxml-sax-expat-perl (0.40-2) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Processing triggers for libc-bin (2.27-3ubuntu1.2) ...
/sbin/ldconfig.real: /usr/local/lib/python3.7/dist-packages/ideep4py/lib/libmkldnn.so.0 is not a symbolic link

Processing triggers for systemd (237-3ubuntu10.48) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libsm6 is already the newest version (2:1.2.2-1).
libxext6 is already the newest version (2:1.3.3-1).
ffmpeg is already the newest version (7:3.4.8-0ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 91 not upgraded.
Collecting sk-video
  Downloading sk_video-1.1.10-py2.py3-none-any.whl (2.3 MB)
     |████████████████████████████████| 2.3 MB 9.1 MB/s 
Collecting p-tqdm
  Downloading p_tqdm-1.3.3.tar.gz (4.3 kB)
Requirement already satisfied: scipy in /usr/local/lib/python3.7/dist-packages (from sk-video) (1.4.1)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from sk-video) (1.19.5)
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (from p-tqdm) (4.62.0)
Collecting pathos
  Downloading pathos-0.2.8-py2.py3-none-any.whl (81 kB)
     |████████████████████████████████| 81 kB 9.9 MB/s 
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (from p-tqdm) (1.15.0)
Requirement already satisfied: multiprocess>=0.70.12 in /usr/local/lib/python3.7/dist-packages (from pathos->p-tqdm) (0.70.12.2)
Collecting pox>=0.3.0
  Downloading pox-0.3.0-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: dill>=0.3.4 in /usr/local/lib/python3.7/dist-packages (from pathos->p-tqdm) (0.3.4)
Collecting ppft>=1.6.6.4
  Downloading ppft-1.6.6.4-py3-none-any.whl (65 kB)
     |████████████████████████████████| 65 kB 3.9 MB/s 
Building wheels for collected packages: p-tqdm
  Building wheel for p-tqdm (setup.py) ... done
  Created wheel for p-tqdm: filename=p_tqdm-1.3.3-py3-none-any.whl size=3987 sha256=8c076c5f00a61153eb4af9f088cd997af4ae836896c9da83bd86fe55515bb989
  Stored in directory: /root/.cache/pip/wheels/57/6c/d6/8c4cc7d253ecfdfe0fb49f5a754d33e9c2ce1664935325b1b6
Successfully built p-tqdm
Installing collected packages: ppft, pox, pathos, sk-video, p-tqdm
Successfully installed p-tqdm-1.3.3 pathos-0.2.8 pox-0.3.0 ppft-1.6.6.4 sk-video-1.1.10
Ign:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Ign:3 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  InRelease
Hit:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  Release
Hit:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64  Release
Hit:6 https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ InRelease
Hit:7 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:8 http://ppa.launchpad.net/c2d4u.team/c2d4u4.0+/ubuntu bionic InRelease
Hit:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:11 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:12 http://ppa.launchpad.net/cran/libgit2/ubuntu bionic InRelease
Hit:14 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:15 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python3-numpy
Suggested packages:
  python-numpy-doc python3-nose python3-numpy-dbg
The following NEW packages will be installed:
  python3-numpy python3-opencv
0 upgraded, 2 newly installed, 0 to remove and 91 not upgraded.
Need to get 2,477 kB of archives.
After this operation, 13.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-numpy amd64 1:1.13.3-2ubuntu1 [1,943 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-opencv amd64 3.2.0+dfsg-4ubuntu0.1 [534 kB]
Fetched 2,477 kB in 1s (1,687 kB/s)
Selecting previously unselected package python3-numpy.
(Reading database ... 165663 files and directories currently installed.)
Preparing to unpack .../python3-numpy_1%3a1.13.3-2ubuntu1_amd64.deb ...
Unpacking python3-numpy (1:1.13.3-2ubuntu1) ...
Selecting previously unselected package python3-opencv.
Preparing to unpack .../python3-opencv_3.2.0+dfsg-4ubuntu0.1_amd64.deb ...
Unpacking python3-opencv (3.2.0+dfsg-4ubuntu0.1) ...
Setting up python3-numpy (1:1.13.3-2ubuntu1) ...
Setting up python3-opencv (3.2.0+dfsg-4ubuntu0.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
ERROR: Could not find a version that satisfies the requirement opencv (from versions: none)
ERROR: No matching distribution found for opencv
Requirement already satisfied: torch in /usr/local/lib/python3.7/dist-packages (1.9.0+cu102)
Requirement already satisfied: torchvision in /usr/local/lib/python3.7/dist-packages (0.10.0+cu102)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.7/dist-packages (from torch) (3.7.4.3)
Requirement already satisfied: pillow>=5.3.0 in /usr/local/lib/python3.7/dist-packages (from torchvision) (7.1.2)
Requirement already satisfied: numpy in /usr/local/lib/python3.7/dist-packages (from torchvision) (1.19.5)

Define preprocessing code 💻

The code that is common between the training and the prediction sections should be defined here. During evaluation, we completely skip the training section. Please make sure to add any common logic between the training and prediction sections here.

In [4]:
# Pytorch 
import onnx
import onnxruntime
import torch
import torch.onnx
from torch import nn
import segmentation_models_pytorch as smp
from torch.utils.data import Dataset, DataLoader

# Reading Dataset, vis and miscellaneous
from PIL import Image
import matplotlib.pyplot as plt
import os
import shutil
import numpy as np
from tqdm.notebook import tqdm
import cv2
from natsort import natsorted
from glob import glob
import skvideo.io

Training phase ⚙️

You can define your training code here. This sections will be skipped during evaluation.

Downloading Dataset

Hre we are downloading the challange dataset using AIcrowd CLI

In [5]:
%aicrowd login --api-key c18a6c4b759fa2df29481af274df6942
API Key valid
Saved API Key successfully!
In [ ]:
!rm -rf data
!mkdir data
%aicrowd ds dl -c iceberg-detection -o data
In [ ]:
# Unzipping the files
!unzip data/train.zip -d data/train > /dev/null
!unzip data/test.zip -d data/test > /dev/null
In [6]:
import random

def seed_everything(seed):
  os.environ["PL_GLOBAL_SEED"] = str(seed)
  random.seed(seed)
  np.random.seed(seed)
  torch.manual_seed(seed)
  torch.cuda.manual_seed_all(seed)

seed_everything(1)
In [ ]:
indexes = [i for i in range(2000)]
val_idxes = random.sample(indexes, 60)
val_idxes[0]
Out[ ]:
275
In [ ]:
!rm -rf data/val
os.mkdir('data/val')
for idx in val_idxes:
  shutil.move(f'data/train/image_{idx}.mp4', 'data/val')
  shutil.move(f'data/train/segmentation_{idx}.mp4', 'data/val')

Dataloader

In [ ]:
from torchvision import transforms
from torchvision.transforms import functional as F

class IcebergsSegmentationDataset(Dataset):
    
    def __init__(self, data_directory=None, mutual_transforms=None):
        

        self.data_directory = data_directory          

        # If the image direcotry is valid      
        if data_directory != None:
          self.image_videos_files = natsorted(glob(data_directory+"/image*"))
          self.segmentation_videos_files = natsorted(glob(data_directory+"/segmentation*"))

        self.img_list = list(zip(self.image_videos_files, self.segmentation_videos_files))
        self.mutual_transforms = mutual_transforms
        
    def __len__(self):
        return len(self.img_list) * 23

    def __getitem__(self, idx):

      img_video = cv2.VideoCapture(self.img_list[idx//23][0]) 
      img_video.set(1, idx%23)
      ret, img = img_video.read()
      img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)

      # Reading the segmentation video
      seg_video = cv2.VideoCapture(self.img_list[idx//23][1])
      seg_video.set(1, idx%23)
      ret, mask = seg_video.read()
      mask = cv2.cvtColor(mask, cv2.COLOR_BGR2GRAY)

      # Resizing the images
      img = cv2.resize(img, (256, 256))
      mask = cv2.resize(mask, (256, 256))

      img = transforms.ToTensor()(img)

      _, mask = cv2.threshold(mask, 127, 255, cv2.THRESH_BINARY)
      mask = transforms.ToTensor()(mask)

      if self.mutual_transforms is not None:
        img, mask = self.mutual_transforms(img, mask)
        
      return img, mask
In [ ]:
class RandomHorizontalFlip(object):
    def __init__(self, flip_prob):
        self.flip_prob = flip_prob

    def __call__(self, image, target):
        if random.random() < self.flip_prob:
            image = F.hflip(image)
            target = F.hflip(target)
        return image, target

mutual_transforms = RandomHorizontalFlip(0.5)
In [ ]:
# Creating the training dataset
train_dataset = IcebergsSegmentationDataset(data_directory="data/train", mutual_transforms=mutual_transforms)
train_loader = DataLoader(train_dataset, batch_size=23, shuffle=True, drop_last=True)
val_dataset = IcebergsSegmentationDataset(data_directory="data/val")
val_loader = DataLoader(val_dataset, batch_size=23, shuffle=True, drop_last=True)
In [ ]:
# Reading the image and corrosponding segmentation
image_batch, segmentation_batch = next(iter(train_loader))

image_batch.shape, segmentation_batch.shape
Out[ ]:
(torch.Size([23, 1, 256, 256]), torch.Size([23, 1, 256, 256]))

Visualizing Dataset

In [ ]:
plt.rcParams["figure.figsize"] = (30,5)

# Going through each image and segmentation
for image, segmentation in zip(image_batch, segmentation_batch):

  # Showing the image
  plt.figure()
  plt.subplot(1,2,1)
  plt.imshow(image[0], 'gray', interpolation='none')
  plt.subplot(1,2,2)
  plt.imshow(image[0], 'gray', interpolation='none')
  plt.imshow(segmentation[0], 'jet', interpolation='none', alpha=0.7)
  plt.show()

Creating the Model

Here we will get setting up the model architecture, optimizer and loss.

In [7]:
from google.colab import drive
drive.mount('/content/drive')
Mounted at /content/drive
In [8]:
!cp 'drive/MyDrive/Blitz/Iceberg Detection/256_finetune_best.pth' ./
In [ ]:
# model = smp.Unet(
#     encoder_name='resnet18', 
#     encoder_weights='imagenet', 
#     classes=1, 
#     activation='sigmoid',
#     in_channels=1
# )
Downloading: "https://download.pytorch.org/models/resnet18-5c106cde.pth" to /root/.cache/torch/hub/checkpoints/resnet18-5c106cde.pth
In [ ]:
loss = smp.utils.losses.DiceLoss()

metrics = [
    smp.utils.metrics.Fscore(threshold=0.5),
]

optimizer = torch.optim.Adam([ 
    dict(params=model.parameters(), lr=0.0001),
])

Training the Model

In [ ]:
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'

train_epoch = smp.utils.train.TrainEpoch(
    model, 
    loss=loss, 
    metrics=metrics, 
    optimizer=optimizer,
    device=DEVICE,
    verbose=True,
)

valid_epoch = smp.utils.train.ValidEpoch(
    model, 
    loss=loss, 
    metrics=metrics, 
    device=DEVICE,
    verbose=True,
)
In [ ]:
max_score = 0
# counter = 0
# early_stopping = 5

for i in range(0, 15): 
  print('\nEpoch: {}'.format(i))
  train_logs = train_epoch.run(train_loader)
  valid_logs = valid_epoch.run(val_loader)
  curr_score = valid_logs['fscore']
  
  if max_score < curr_score:
    # counter = 0
    max_score = curr_score
    torch.save(model, 'best.pth')
    print('Model saved!')
  # else:
  #   counter += 1
  torch.save(model, 'last.pth')

  # if counter == early_stopping:
  #   print("Early stopping")
  #   break
Epoch: 0
train:   0%|          | 1/1940 [00:00<23:08,  1.40it/s, dice_loss - 0.006255, fscore - 0.9939]
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at  /pytorch/c10/core/TensorImpl.h:1156.)
  return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
train: 100%|██████████| 1940/1940 [17:38<00:00,  1.83it/s, dice_loss - 0.006183, fscore - 0.9939]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.02it/s, dice_loss - 0.005629, fscore - 0.9945]
Model saved!

Epoch: 1
train: 100%|██████████| 1940/1940 [17:33<00:00,  1.84it/s, dice_loss - 0.005627, fscore - 0.9944]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.03it/s, dice_loss - 0.00535, fscore - 0.9947]
Model saved!

Epoch: 2
train: 100%|██████████| 1940/1940 [17:31<00:00,  1.84it/s, dice_loss - 0.005376, fscore - 0.9947]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.04it/s, dice_loss - 0.005183, fscore - 0.9949]
Model saved!

Epoch: 3
train: 100%|██████████| 1940/1940 [17:28<00:00,  1.85it/s, dice_loss - 0.005205, fscore - 0.9948]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.04it/s, dice_loss - 0.004966, fscore - 0.9951]
Model saved!

Epoch: 4
train: 100%|██████████| 1940/1940 [17:32<00:00,  1.84it/s, dice_loss - 0.005061, fscore - 0.995]
valid: 100%|██████████| 60/60 [00:30<00:00,  1.98it/s, dice_loss - 0.004862, fscore - 0.9952]
Model saved!

Epoch: 5
train: 100%|██████████| 1940/1940 [17:37<00:00,  1.84it/s, dice_loss - 0.00493, fscore - 0.9951]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.02it/s, dice_loss - 0.004765, fscore - 0.9953]
Model saved!

Epoch: 6
train: 100%|██████████| 1940/1940 [17:32<00:00,  1.84it/s, dice_loss - 0.004822, fscore - 0.9952]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.03it/s, dice_loss - 0.005138, fscore - 0.9949]

Epoch: 7
train: 100%|██████████| 1940/1940 [17:32<00:00,  1.84it/s, dice_loss - 0.004735, fscore - 0.9953]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.03it/s, dice_loss - 0.004746, fscore - 0.9953]
Model saved!

Epoch: 8
train: 100%|██████████| 1940/1940 [17:33<00:00,  1.84it/s, dice_loss - 0.004657, fscore - 0.9954]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.01it/s, dice_loss - 0.004889, fscore - 0.9951]

Epoch: 9
train: 100%|██████████| 1940/1940 [17:35<00:00,  1.84it/s, dice_loss - 0.004603, fscore - 0.9954]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.01it/s, dice_loss - 0.00461, fscore - 0.9954]
Model saved!

Epoch: 10
train: 100%|██████████| 1940/1940 [17:38<00:00,  1.83it/s, dice_loss - 0.004509, fscore - 0.9955]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.01it/s, dice_loss - 0.004691, fscore - 0.9953]

Epoch: 11
train: 100%|██████████| 1940/1940 [17:36<00:00,  1.84it/s, dice_loss - 0.004465, fscore - 0.9956]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.02it/s, dice_loss - 0.004409, fscore - 0.9956]
Model saved!

Epoch: 12
train: 100%|██████████| 1940/1940 [17:35<00:00,  1.84it/s, dice_loss - 0.004391, fscore - 0.9956]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.00it/s, dice_loss - 0.004553, fscore - 0.9955]

Epoch: 13
train: 100%|██████████| 1940/1940 [17:36<00:00,  1.84it/s, dice_loss - 0.004358, fscore - 0.9957]
valid: 100%|██████████| 60/60 [00:29<00:00,  2.02it/s, dice_loss - 0.004387, fscore - 0.9956]
Model saved!

Epoch: 14
train: 100%|██████████| 1940/1940 [17:37<00:00,  1.83it/s, dice_loss - 0.004301, fscore - 0.9957]
valid: 100%|██████████| 60/60 [00:30<00:00,  2.00it/s, dice_loss - 0.004431, fscore - 0.9956]
In [10]:
model = torch.load('256_finetune_best.pth', map_location='cpu')

Visualize Predictions

In [11]:
predictions = model.predict(image_batch)
predictions.shape
╭──────────────────────────── Traceback (most recent call last) ────────────────────────────╮
 /usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py:2882 in run_code  
                                                                                           
   2879 │   │   │   try:                                                                   
   2880 │   │   │   │   self.hooks.pre_run_code_hook()                                     
   2881 │   │   │   │   #rprint('Running code', repr(code_obj)) # dbg                      
 2882 │   │   │   │   exec(code_obj, self.user_global_ns, self.user_ns)                  
   2883 │   │   │   finally:                                                               
   2884 │   │   │   │   # Reset our crash handler in place                                 
   2885 │   │   │   │   sys.excepthook = old_excepthook                                    
 <ipython-input-11-836b15ad8a75>:1 in <module>                                             
╰───────────────────────────────────────────────────────────────────────────────────────────╯
NameError: name 'image_batch' is not defined
In [ ]:
# Going through each image and segmentation
for image, segmentation in zip(image_batch, predictions.cpu()):

  # Showing the image
  plt.figure()
  plt.subplot(1,2,1)
  plt.imshow(image[0], 'gray', interpolation='none')
  plt.subplot(1,2,2)
  plt.imshow(image[0], 'gray', interpolation='none')
  plt.imshow(segmentation[0], 'jet', interpolation='none', alpha=0.7)
  plt.show()

Saving the Model

In [12]:
!rm -rf assets
!mkdir assets
batch_size = 1
x = torch.randn(batch_size, 1, 256, 256, requires_grad=True)
torch_out = model(x)

# Export the model
torch.onnx.export(model,               # model being run
                  x,                         # model input (or a tuple for multiple inputs)
                  "assets/segmentation.onnx",   # where to save the model (can be a file or file-like object)
                  export_params=True,        # store the trained parameter weights inside the model file
                  opset_version=11,          # the ONNX version to export the model to
                  do_constant_folding=True,  # whether to execute constant folding for optimization
                  input_names = ['input'],   # the model's input names
                  output_names = ['output'], # the model's output names
                  dynamic_axes={'input' : {0 : 'batch_size'},    # variable length axes
                                'output' : {0 : 'batch_size'}})
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at  /pytorch/c10/core/TensorImpl.h:1156.)
  return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)

Prediction phase 🔎

Generating the features in test dataset.

Loading the Model

In [13]:
def process_img(img):
  img = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
  img = cv2.resize(img, (256, 256)) / 255
  return img[np.newaxis, :]

def get_imgs(video_file):
  img_video = cv2.VideoCapture(video_file)
  img_video.set(1, 0)
  imgs = []
  ret, img = img_video.read()
  while ret:
    imgs.append(img)
    ret, img = img_video.read()
  img_video.release()
  imgs = [process_img(img) for img in imgs]
  return np.stack(imgs)
In [ ]:
# # test
# images = get_imgs('data/test/image_0.mp4')
# import onnxruntime as ort

# ort_session = ort.InferenceSession('assets/segmentation.onnx')

# outputs = ort_session.run(None, {'input': images.astype(np.float32)})

# temp = outputs[0][0][0]
# temp = temp * 255
# print(temp.shape)
# temp = cv2.resize(temp, (512, 512))

# _, temp = cv2.threshold(temp, 127, 255, cv2.THRESH_BINARY)
# plt.imshow(temp, 'gray', interpolation='none')
(256, 256)
Out[ ]:
<matplotlib.image.AxesImage at 0x7f32e1b84450>
In [14]:
import onnxruntime as ort

# Generating Predictions Function
def gen_predictions(AICROWD_OUTPUTS_PATH):
  ort_session = ort.InferenceSession('assets/segmentation.onnx')
  data_directory=AICROWD_DATASET_PATH
  video_files = natsorted(glob(os.path.join(data_directory, "image")+"*"))
  for batch_idx, video_file in tqdm(enumerate(video_files)):
    image_batch = get_imgs(video_file)
    predictions = ort_session.run(None, {'input': image_batch.astype(np.float32)})[0]

    writer = skvideo.io.FFmpegWriter(os.path.join(AICROWD_OUTPUTS_PATH,  f"segmentation_{batch_idx}.mp4"), outputdict={
                '-vcodec': 'libx264',  
                '-crf': '0',           
                '-preset':'veryslow'   
                })

    for seg in predictions:
      seg_np = seg[0] * 255
      # Resizing the video
      seg_np = cv2.resize(seg_np, (512, 512))

      _, seg_np = cv2.threshold(seg_np, 127, 255, cv2.THRESH_BINARY)
      writer.writeFrame(seg_np.astype(np.uint8))

    writer.close()

Generating the Predictions

In [15]:
gen_predictions(AICROWD_OUTPUTS_PATH)

Submit to AIcrowd 🚀¶

In [ ]:

Using notebook: /content/drive/MyDrive/Colab Notebooks/Iceberg Detection finetune for submission...
Scrubbing API keys from the notebook...
Collecting notebook...
ERROR    Error while reading the git config,                                    
In [ ]:
# !cp assets/best.pth drive/MyDrive

Don't be shy to ask question related to any errors you are getting or doubts in any part of this notebook in discussion forum or in AIcrowd Discord server, AIcrew will be happy to help you :)

Also, wanna give us your valuable feedback for next blitz or wanna work with us creating blitz challanges ? Let us know!


Comments

You must login before you can post a comment.

Execute