#!/usr/bin/env python

import os.path as osp

import chainer

import fcn.data
import fcn.util


def main():

    dataset_dir = chainer.dataset.get_dataset_directory('apc2016')

    path = osp.join(dataset_dir, 'APC2016rbo.tgz')
    fcn.data.cached_download(
        url='https://drive.google.com/uc?id=0B9P1L--7Wd2vSV9oLTd1U2I3TDg',
        path=path,
    )
    fcn.util.extract_file(path, to_directory=dataset_dir)

    path = osp.join(dataset_dir, 'APC2016JSKseg/annotated.tgz')
    fcn.data.cached_download(
        url='https://drive.google.com/uc?id=0B9P1L--7Wd2vaExFU1AxWHlMdTg',
        path=path,
    )
    fcn.util.extract_file(path, to_directory=dataset_dir)


if __name__ == '__main__':
    main()

#!/usr/bin/env python

import os.path as osp

import chainer

import fcn


def main():
    dataset_dir = chainer.dataset.get_dataset_directory('apc2016')

    path = osp.join(dataset_dir, 'APC2016rbo.tgz')
    fcn.data.cached_download(
        url='https://drive.google.com/uc?id=0B9P1L--7Wd2vSV9oLTd1U2I3TDg',
        path=path,
    )
    fcn.util.extract_file(path, to_directory=dataset_dir)

    path = osp.join(dataset_dir, 'APC2016JSKseg/annotated.tgz')
    fcn.data.cached_download(
        url='https://drive.google.com/uc?id=0B9P1L--7Wd2vaExFU1AxWHlMdTg',
        path=path,
    )
    fcn.utils.extract_file(path, to_directory=dataset_dir)


if __name__ == '__main__':
    main()

Fix for renamed module util -> utils
Fix for renamed module util -> utils
