Created by: guoshengCS
Fix the default value of CPU_NUM to be consistent with Paddle framework. Fix the leaving out of subprocess importing.