Skip to content

Commit

Permalink
Update examples/heat_pinn/heat_pinn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HydrogenSulfate authored Jun 14, 2024
1 parent 412f80f commit b580d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/heat_pinn/heat_pinn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b580d6f

Please sign in to comment.