Commit 06bc1c5d authored by Yuxin Wu's avatar Yuxin Wu

minor change

parent e6edb710
...@@ -108,7 +108,7 @@ class BaseTowerContext(object): ...@@ -108,7 +108,7 @@ class BaseTowerContext(object):
ret.append(tf.variable_scope(tf.get_variable_scope())) ret.append(tf.variable_scope(tf.get_variable_scope()))
# always clear existing ns # TODO check existing ns # always clear existing ns # TODO check existing ns
if len(self._name) and self._name != self._vs_name: if len(self._name):
ret.append(tf.name_scope(self._name + '/')) ret.append(tf.name_scope(self._name + '/'))
return ret return ret
......
...@@ -336,7 +336,7 @@ class HorovodTrainer(SingleCostTrainer): ...@@ -336,7 +336,7 @@ class HorovodTrainer(SingleCostTrainer):
2. MPI does not like `fork()`. If your dataflow contains multiprocessing, it may cause problems. 2. MPI does not like `fork()`. If your dataflow contains multiprocessing, it may cause problems.
3. MPI sometimes fails to kill all processes. Be sure to check it afterwards. 3. MPI sometimes fails to kill all processes in the end. Be sure to check it afterwards.
4. Keep in mind that there is one process running the script per GPU, therefore: 4. Keep in mind that there is one process running the script per GPU, therefore:
......
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