Commit 7021ac1c authored by Taylor Robie's avatar Taylor Robie
Browse files

missed a not

parent f1efaf83
......@@ -378,7 +378,7 @@ class BaseDataConstructor(threading.Thread):
self._current_epoch_order = np.empty(shape=(0,))
self._shuffle_iterator = None
self._shuffle_with_forkpool = stream_files
self._shuffle_with_forkpool = not stream_files
if stream_files:
self._shard_root = tempfile.mkdtemp(prefix="ncf_")
atexit.register(tf.gfile.DeleteRecursively, dirname=self._shard_root)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment