Traceback (most recent call last):


 "C:/Users/pauls/Desktop/4. Stela/Chatbot project/chatBot-master/execute.py", line 303, in <module>

decode()


 "C:/Users/pauls/Desktop/4. Stela/Chatbot project/chatBot-master/execute.py", line 192, in decode

model = create_model(sess, True)


 "C:/Users/pauls/Desktop/4. Stela/Chatbot project/chatBot-master/execute.py", line 95, in create_model

model = seq2seq_model.Seq2SeqModel( gConfig['enc_vocab_size'], gConfig['dec_vocab_size'], _buckets, gConfig['layer_size'], gConfig['num_layers'], gConfig['max_gradient_norm'], gConfig['batch_size'], gConfig['learning_rate'], gConfig['learning_rate_decay_factor'], forward_only=forward_only)


 "C:\Users\pauls\Desktop\4. Stela\Chatbot project\chatBot-master\seq2seq_model.py", line 135, in __init__

softmax_loss_function=softmax_loss_function)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\contrib\legacy_seq2seq\python\ops\seq2seq.py", line 1195, in model_with_buckets

softmax_loss_function=softmax_loss_function))


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\contrib\legacy_seq2seq\python\ops\seq2seq.py", line 1110, in sequence_loss

softmax_loss_function=softmax_loss_function))


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\contrib\legacy_seq2seq\python\ops\seq2seq.py", line 1067, in sequence_loss_by_example

crossent = softmax_loss_function(target, logit)


 "C:\Users\pauls\Desktop\4. Stela\Chatbot project\chatBot-master\seq2seq_model.py", line 92, in sampled_loss

self.target_vocab_size)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\ops\nn_impl.py", line 1191, in sampled_softmax_loss

name=name)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\ops\nn_impl.py", line 947, in _compute_sampled_logits

range_max=num_classes)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\ops\candidate_sampling_ops.py", line 134, in log_uniform_candidate_sampler

seed2=seed2, name=name)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_candidate_sampling_ops.py", line 357, in _log_uniform_candidate_sampler

name=name)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 763, in apply_op

op_def=op_def)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2397, in create_op

set_shapes_for_outputs(ret)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1757, in set_shapes_for_outputs

shapes = shape_func(op)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1707, in call_with_requiring

return call_cpp_shape_fn(op, require_shape_fn=True)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 610, in call_cpp_shape_fn

debug_python_shape_fn, require_shape_fn)


 "C:\Users\pauls\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 675, in _call_cpp_shape_fn_impl

raise ValueError(err.message)
ValueError: Shape must be rank 2 but is rank 1 for 'model_with_buckets/sequence_loss/sequence_loss_by_example/sampled_softmax_loss/LogUniformCandidateSampler' (op: 'LogUniformCandidateSampler') with input shapes: [?].

Traceback (most recent call last):


 "F:/python/facenet/src/validate_on_lfw.py", line 164, in <module>

main(parse_arguments(sys.argv[1:]))


 "F:/python/facenet/src/validate_on_lfw.py", line 73, in main

facenet.load_model(args.model, input_map=input_map)


 "F:\python\facenet\src\facenet.py", line 382, in load_model

saver = tf.train.import_meta_graph(os.path.join(model_exp, meta_file), input_map=input_map)


 "D:\Users\yekeng\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\training\saver.py", line 1927, in import_meta_graph

**kwargs)


 "D:\Users\yekeng\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\framework\meta_graph.py", line 741, in import_scoped_meta_graph

producer_op_list=producer_op_list)


 "D:\Users\yekeng\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 432, in new_func

return func(*args, **kwargs)


 "D:\Users\yekeng\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\framework\importer.py", line 671, in import_graph_def

node, 'Input tensor %r %s' % (input_name, te)))
ValueError: graph_def is invalid at node 'Reshape': Input tensor 'label_batch:0' Cannot convert a tensor of type int32 to an input of type int64.
