in download_imgur5k.py [0:0]
def compute_image_hash(img_path): return hashlib.md5(open(img_path, 'rb').read()).hexdigest()