Traceback (most recent call last):


 "main.py", line 29, in <module>

chatbot.main()


 "/Users/fdf/Desktop/qa/chatbot/chatbot.py", line 170, in main

self.model = Model(self.args, self.textData)


 "/Users/fdf/Desktop/qa/chatbot/model.py", line 104, in __init__

self.buildNetwork()


 "/Users/fdf/Desktop/qa/chatbot/model.py", line 155, in buildNetwork

[create_rnn_cell() for _ in range(self.args.numLayers)],


 "/Users/fdf/Desktop/qa/chatbot/model.py", line 155, in <listcomp>

[create_rnn_cell() for _ in range(self.args.numLayers)],


 "/Users/fdf/Desktop/qa/chatbot/model.py", line 151, in create_rnn_cell

output_keep_prob=self.args.dropout


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 769, in __init__

tensor_prob, const_prob = tensor_and_const_value(prob)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/ops/rnn_cell_impl.py", line 763, in tensor_and_const_value

tensor_value = ops.convert_to_tensor(v)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 836, in convert_to_tensor

as_ref=False)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 926, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 229, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 208, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 483, in make_tensor_proto

append_fn(tensor_proto, proto_values)


 "tensorflow/python/framework/fast_tensor_util.pyx", line 15, in tensorflow.python.framework.fast_tensor_util.AppendFloat32ArrayToTensorProto


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/google/protobuf/internal/containers.py", line 251, in append

self._values.append(self._type_checker.CheckValue(value))
AttributeError: 'float' object has no attribute '_values'

Traceback (most recent call last):



 "uvloop/cbhandles.pyx", line 66, in uvloop.loop.Handle._run



 "/home/derek/repo/python-prompt-toolkit/prompt_toolkit/eventloop/utils.py", line 68, in schedule


if not loop2._ready:
# type: ignore

AttributeError: 'Loop' object has no attribute '_ready'

