def load_model(model_path, m):
    print('Loading model...')
    model = serial.load(model_path)
    model.set_batch_size(m)

    return model
Load given model.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/scripts/dbm/show_samples.py/load_model