From c01add193ee6dc8149bc3ed081e609dea622b1f8 Mon Sep 17 00:00:00 2001 From: Newnius Date: Wed, 29 Apr 2020 18:54:53 +0800 Subject: [PATCH] add files --- .idea/workspace.xml | 28 ++++++++++++++-------------- model/model_tensorflow.py | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1ae2f58..97f585e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,6 @@ - @@ -37,12 +36,12 @@ - + - + @@ -52,8 +51,8 @@ - - + + @@ -64,8 +63,8 @@ - - + + @@ -155,7 +154,7 @@ - + @@ -186,15 +185,16 @@ - + @@ -262,8 +262,8 @@ - - + + @@ -272,8 +272,8 @@ - - + + diff --git a/model/model_tensorflow.py b/model/model_tensorflow.py index a07ea22..c2be078 100644 --- a/model/model_tensorflow.py +++ b/model/model_tensorflow.py @@ -86,7 +86,7 @@ def predict(config, test_X): test_len = len(test_X) with tf.Session() as sess: - module_file = tf.train.latest_checkpoint(config.model_save_path + config.model_name) + module_file = tf.train.latest_checkpoint(config.model_save_path) model.saver.restore(sess, module_file) result = np.zeros((test_len * config.time_step, config.output_size))