# 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 shutil
import logging
import numpy as np
import scipy.io
from PIL import Image
from .util import dataset_home, download, checksum, archive_extract, checkpoint


log = logging.getLogger(__name__)

_URLS = {
    'original': (

# 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/lfw.py
import os
import shutil
import logging
import numpy as np
import scipy.io
from PIL import Image
from .util import dataset_home, download, checksum, archive_extract, checkpoint



log = logging.getLogger(__name__)

_URLS = {
    'original': (

        'http://vis-www.cs.umass.edu/lfw/lfw.tgz',