|
|
@ -28,6 +28,9 @@ Graphics and Image Processing (2008)
|
|
|
|
http://www.robots.ox.ac.uk/~vgg/publications/papers/nilsback08.{pdf,ps.gz}.
|
|
|
|
http://www.robots.ox.ac.uk/~vgg/publications/papers/nilsback08.{pdf,ps.gz}.
|
|
|
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from __future__ import print_function
|
|
|
|
|
|
|
|
|
|
|
|
import itertools
|
|
|
|
import itertools
|
|
|
|
import functools
|
|
|
|
import functools
|
|
|
|
from .common import download
|
|
|
|
from .common import download
|
|
|
@ -117,7 +120,7 @@ def reader_creator(data_file,
|
|
|
|
file = file.strip()
|
|
|
|
file = file.strip()
|
|
|
|
batch = None
|
|
|
|
batch = None
|
|
|
|
with open(file, 'rb') as f:
|
|
|
|
with open(file, 'rb') as f:
|
|
|
|
batch = pickle.loads(f.read())
|
|
|
|
batch = pickle.load(f)
|
|
|
|
data = batch['data']
|
|
|
|
data = batch['data']
|
|
|
|
labels = batch['label']
|
|
|
|
labels = batch['label']
|
|
|
|
for sample, label in zip(data, batch['label']):
|
|
|
|
for sample, label in zip(data, batch['label']):
|
|
|
|