diff --git a/examples/heat_pinn/heat_pinn.py b/examples/heat_pinn/heat_pinn.py index a8e5fad5c..179c57cad 100644 --- a/examples/heat_pinn/heat_pinn.py +++ b/examples/heat_pinn/heat_pinn.py @@ -252,7 +252,7 @@ def export(cfg: DictConfig): # initialize solver solver = ppsci.solver.Solver( model, - pretrained_model_path=cfg.INFER.pretrained_model_path, + cfg=cfg, ) # export model from paddle.static import InputSpec