Exemplo n.º 1
0
    def load_weights(self, filename=None):

        assert filename
        print filename
        assert os.path.exists(filename)
        print("Loading weights from %s" % filename)
        load_weights(self, filename)
Exemplo n.º 2
0
    def load_weights(self, filename=None):

        assert filename and os.path.exists(filename)

        load_weights(self, filename)