Skip to content

Commit

Permalink
change epochs of the example of SSA to 800k epochs
Browse files Browse the repository at this point in the history
  • Loading branch information
enigne committed Nov 26, 2024
1 parent 91ff96c commit bf2ab5c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/pinn_ssa.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@

# General parameters
hp = {}
hp["epochs"] = 1000
hp["epochs"] = 800000
hp["learning_rate"] = 0.001
hp["loss_function"] = "MSE"
hp["save_path"] = "./Models/Helheim_test"
hp["is_save"] = False
hp["save_path"] = "./Models/Helheim_test/"
hp["is_save"] = True
hp["is_plot"] = True

# NN
Expand All @@ -23,8 +23,8 @@
hp["num_layers"] = 6

# domain
hp["shapefile"] = "./dataset/Helheim_Big.exp"
hp["num_collocation_points"] = 5000
hp["shapefile"] = "./dataset/fastflow_CF.exp"
hp["num_collocation_points"] = 9000

# physics
SSA = {}
Expand All @@ -33,7 +33,7 @@

# data
issm = {}
issm["data_size"] = {"u":1000, "v":1000, "s":1000, "H":1000, "C":None, "vel":1000}
issm["data_size"] = {"u":4000, "v":4000, "s":4000, "H":4000, "C":None, "vel":4000}
issm["data_path"] = "./dataset/Helheim_fastflow.mat"
hp["data"] = {"ISSM":issm}

Expand Down

0 comments on commit bf2ab5c

Please sign in to comment.