# Path: deeppy/dataset/util.py
# def touch(filepath, times=None):
# def require_dir(path):
# def url_filename(url):
# def download(url, target_dir, filename=None):
# def checkpoint(filepath):
# def is_archive(filepath):
# def archive_extract(filepath, target_dir):
# def checksum(filename, method='sha1'):
# def _read_int(buf):
# def load_idx(filepath):


import os
import glob
import shutil
import numpy as np
import logging
from PIL import Image
from .util import dataset_home, download, checksum, archive_extract, checkpoint



log = logging.getLogger(__name__)

_URLS = {
    'liberty': 'http://www.cs.ubc.ca/~mbrown/patchdata/liberty.zip',
    'notredame': 'http://www.cs.ubc.ca/~mbrown/patchdata/notredame.zip',
    'yosemite': 'http://www.cs.ubc.ca/~mbrown/patchdata/yosemite.zip',
}

_SHA1S = {

# Path: deeppy/dataset/util.py
# def touch(filepath, times=None):
# def require_dir(path):
# def url_filename(url):
# def download(url, target_dir, filename=None):
# def checkpoint(filepath):
# def is_archive(filepath):
# def archive_extract(filepath, target_dir):
# def checksum(filename, method='sha1'):
# def _read_int(buf):
# def load_idx(filepath):


# Path: deeppy/dataset/mvsc.py
import os
import glob
import shutil
import numpy as np
import logging
from PIL import Image
from .util import dataset_home, download, checksum, archive_extract, checkpoint




log = logging.getLogger(__name__)

_URLS = {
    'liberty': 'http://www.cs.ubc.ca/~mbrown/patchdata/liberty.zip',
    'notredame': 'http://www.cs.ubc.ca/~mbrown/patchdata/notredame.zip',
    'yosemite': 'http://www.cs.ubc.ca/~mbrown/patchdata/yosemite.zip',
}

_SHA1S = {

    'liberty': '18bffdb818146f5cba7fc6123d76f37d92c7ac20',