-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
Hi @HadoopIt ,
Thank you for publishing the code for the paper.
I am trying to use a stored pre-trained model to generate the intent and slots for a new sentence. However, based on the outputs it generates, it ends up using a new, untrained model.
saver = tf.train.import_meta_graph('/tmp/model.ckpt-1900.meta')
saver.restore(session, '/tmp/model.ckpt-1900')
model_train, model_test = create_model(session, 139, 36, 6)
step_outputs = model_test.joint_step(session, encoder_inputs, tags, tag_weights, labels,sequence_length, bucket_id, True)Any suggestions on how to use a trained model from a stored file?
Metadata
Metadata
Assignees
Labels
No labels