【发布时间】:2018-08-25 00:57:02
【问题描述】:
self._data_path = data_path
self._vocab = vocab
self._hps = hps
self._single_pass = single_pass
# Initialize a queue of Batches waiting to be used, and a queue of Examples waiting to be batched
self._batch_queue = Queue.Queue(self.BATCH_QUEUE_MAX)
self._example_queue = Queue.Queue(self.BATCH_QUEUE_MAX * self._hps.batch_size);
这段代码突然不能运行了。因为tensorflow变成了1.6版本?
【问题讨论】:
-
,它显示 ValueError: The 'mode' flag must be one of train/eval/decode,但我提供了 arg。
标签: python tensorflow nlp seq2seq