Fork自 PaddlePaddle / PaddleDetection
* add assign_on_cpu on postprocess * add gpu check * refine device when assign on cpu