diff --git a/ppgan/apps/base_predictor.py b/ppgan/apps/base_predictor.py index 388f841a170aa318480f688cde8a507859c03e89..2cdd3e31366bd70e640bbe14a03b7efabb2b9718 100644 --- a/ppgan/apps/base_predictor.py +++ b/ppgan/apps/base_predictor.py @@ -38,11 +38,10 @@ class BasePredictor(object): param_file = file_name self.program, self.feed_names, self.fetch_targets = paddle.static.load_inference_model( - dirname=self.weight_path, + self.weight_path, executor=self.exe, model_filename=model_file, params_filename=param_file) - print(self.feed_names) def base_forward(self, inputs): if paddle.in_dynamic_mode():