Commit e3bc3c7b authored by dongzhuoyao's avatar dongzhuoyao Committed by Yuxin Wu

typo (#543)

parent e2194663
...@@ -205,7 +205,7 @@ class PrefetchDataZMQ(_MultiProcessZMQDataFlow): ...@@ -205,7 +205,7 @@ class PrefetchDataZMQ(_MultiProcessZMQDataFlow):
b. When ``nr_proc>1``, the dataflow produces the same distribution b. When ``nr_proc>1``, the dataflow produces the same distribution
of data as ``ds`` if each sample from ``ds`` is i.i.d. (e.g. fully shuffled). of data as ``ds`` if each sample from ``ds`` is i.i.d. (e.g. fully shuffled).
You probably only want to use it for training. You probably only want to use it for training.
2. The fork of proesses happened in the `reset_state()` method. 2. The fork of processes happened in the `reset_state()` method.
Please note that forking a TensorFlow GPU session may be unsafe. Please note that forking a TensorFlow GPU session may be unsafe.
If you're managing this dataflow on your own, If you're managing this dataflow on your own,
it's better to fork before creating the session. it's better to fork before creating the session.
......
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