<s> from fuel . utils import find_in_data_path <EOL> from fuel . datasets import H5PYDataset <EOL> class CalTech101Silhouettes ( H5PYDataset ) : <EOL> u"""<STR_LIT>""" <EOL> def __init__ ( self , which_sets , size = <NUM_LIT> , load_in_memory = True , ** kwargs ) : <EOL> if size not in ( <NUM_LIT:16> , <NUM_LIT> ) : <EOL> raise ValueError ( '<STR_LIT>' ) <EOL> self . filename = '<STR_LIT>' . format ( size ) <EOL> super ( CalTech101Silhouettes , self ) . __init__ ( <EOL> self . data_path , which_sets = which_sets , <EOL> load_in_memory = load_in_memory , ** kwargs ) <EOL> @ property <EOL> def data_path ( self ) : <EOL> return find_in_data_path ( self . filename ) </s>
