Traceback (most recent call last):


 "/home/xxx/ttsbench/tts/keithito_tacotron/datasets/datafeeder.py", line 73, in run

self._enqueue_next_group()


 "/home/xxx/ttsbench/tts/keithito_tacotron/datasets/datafeeder.py", line 95, in _enqueue_next_group

self._session.run(self._enqueue_op, feed_dict=feed_dict)


 "/usr/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 789, in run

run_metadata_ptr)


 "/usr/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 997, in _run

feed_dict_string, options, run_metadata)


 "/usr/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 1132, in _do_run

target_list, options, run_metadata)


 "/usr/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 1152, in _do_call

raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.CancelledError: Enqueue operation was cancelled

Traceback (most recent call last):


 "2.py", line 24, in <module>

candidates = embeddings.similarity(query, sections)


 "/home/vyasa/.virtualenvs/txtai/lib/python3.6/site-packages/txtai/embeddings.py", line 228, in similarity

query = self.transform((None, query, None)).reshape(1, -1)


 "/home/vyasa/.virtualenvs/txtai/lib/python3.6/site-packages/txtai/embeddings.py", line 179, in transform

embedding = self.model.transform(document)


 "/home/vyasa/.virtualenvs/txtai/lib/python3.6/site-packages/txtai/vectors.py", line 155, in transform

weights = self.scoring.weights(document) if self.scoring else None


 "/home/vyasa/.virtualenvs/txtai/lib/python3.6/site-packages/txtai/scoring.py", line 133, in weights

weights.append(self.score(freq, idf, length))


 "/home/vyasa/.virtualenvs/txtai/lib/python3.6/site-packages/txtai/scoring.py", line 217, in score

k = self.k1 * ((1 - self.b) + self.b * length / self.avgdl)
ZeroDivisionError: float division by zero
