when model init,make model dir if model dir does not exist