ParallelExecutor is deprecated. Please use CompiledProgram and Executor. CompiledProgram is a central place for optimization and Executor is the unified executor. Example can be found in compiler.py.
W0523 11:22:05.580132 14117 graph.h:204] WARN: After a series of passes, the current graph can be quite different from OriginProgram. So, please avoid using the OriginProgram() method!
现在直接用官方提供的similarity_net,提示
应该没有使用多个cpu并行训练,系统只有一个cpu在使用。
看了另外一个issue:https://github.com/PaddlePaddle/models/issues/2102 也遇到过类似报错,说是需要用统一的Executor接口。
官方提供的similarity_net代码是不是需要更新下了?