add process compatible method for Upload model.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>