Skip to content

Commit

Permalink
Print network's hyperparameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fpichi committed Dec 12, 2023
1 parent 5e79460 commit 3fa1738
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 40 deletions.
6 changes: 2 additions & 4 deletions notebook/01_poisson.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(1)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/02_advection.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(2)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/03_graetz.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(3)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/04_navier_stokes_vx.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(4)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/05_navier_stokes_vy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(5)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/06_navier_stokes_p.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(6)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/07_diffusion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(7)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/08_poiseuille.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(8)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/09_elasticity.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(9)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions notebook/10_stokes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,9 @@
"outputs": [],
"source": [
"problem_name, variable, mu_space, n_param = pde.problem(10)\n",
"print(\"\\nProblem: \", problem_name)\n",
"print(\"Variable: \", variable)\n",
"print(\"Parameters: \", n_param)\n",
"argv = gui.hyperparameters_selection(problem_name, variable, n_param)\n",
"HyperParams = network.HyperParams(argv)"
"HyperParams = network.HyperParams(argv)\n",
"HyperParams.__dict__"
]
},
{
Expand Down

0 comments on commit 3fa1738

Please sign in to comment.