'Load the model.'

def load(self, filename):

    vals = numpy.load(filename)
    for p in self.params:
        if (p.name in vals):
            print 'Loading', p.name
            p.set_value(vals[p.name])
