title: Restore to keep training not working with tensorflow
body: <p>I need to save and restore the graph to keep training from the last checkpoint, but somehow is not working.</p>
  
  <p>I use <code>saver = tf.train.Saver()</code> to save the model. And:</p>
  
  <pre><code>with tf.Session(config=tf.ConfigProto(log_device_placement=True)) as sess:
      # Initializing saver
      sess.run(tf.global_variables_initializer())
      save_path = saver.save(sess,model_path+"/%s.ckpt"%model_name)
      if flag == "initial_train":
          training_loop(num_epochs)
          flag = None
      else:
          new_saver = tf.train.import_meta_graph(model_path+"/%s.ckpt.meta"%model_name)
          new_saver.restore(sess, save_path)
          print("Model loaded")
          training_loop(num_epochs)
  </code></pre>
  
  <p>I really don't know why it's not importing the weights</p>