예제 #1
0
def make_model():
    vae = VAE()
    vae.set_weights('./vae/weights.h5')

    rnn = RNN()
    rnn.set_weights('./rnn/weights.h5')

    controller = Controller()

    model = Model(controller, vae, rnn)
    return model
예제 #2
0
def make_model():

    acai = ACAI()

    rnn = RNN()
    rnn.set_weights('./rnn/weights.h5')

    controller = Controller()

    model = Model(controller, acai, rnn)
    return model