Fork自 PaddlePaddle / PaddleDetection
tweak the executor implementation to better match origin behavior