

def load_model(model_path, m):
    '\n    Load given model.\n\n    Parameters\n    ----------\n    model_path: str\n        Path of the model to load.\n    m: int\n        Size of the batch.\n    '
    print('Loading model...')
    model = serial.load(model_path)
    model.set_batch_size(m)
    return model

dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/dbm/show_reconstructions.py load_model/original