Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 98304 values, but the requested shape has 1572864
  2. [[Node: Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:0"](g_transformer/_transform/concat, pack_5)]]
  3. [[Node: g_transformer_1/_transform/Reshape_6/_333 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_520_g_transformer_1/_transform/Reshape_6", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]
  4.  
  5. self.loader = tf.train.import_meta_graph(meta)
  6. self.loader.restore(self.sess, os.path.join(fn, ckpt_name))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement