Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tutorials/adaptivepd.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import pyproximal

plt.close("all")
np.random.seed(10)


def callback(x, f, g, K, cost, xtrue, err):
Expand Down
1 change: 1 addition & 0 deletions tutorials/constrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import pyproximal

plt.close("all")
np.random.seed(10)

###############################################################################
# Let's start defining the terms of the quadratic functional
Expand Down
1 change: 1 addition & 0 deletions tutorials/denoising.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import pyproximal

plt.close("all")
np.random.seed(10)

###############################################################################
# Let's start by loading a sample image and adding some noise
Expand Down
2 changes: 1 addition & 1 deletion tutorials/lowrankcompletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

import pyproximal

np.random.seed(0)
plt.close("all")
np.random.seed(0)

###############################################################################
# Let's start by loading a sample image
Expand Down
1 change: 1 addition & 0 deletions tutorials/nonlinearconstrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
import pyproximal

plt.close("all")
np.random.seed(10)

###############################################################################
# Let's start by defining the class for the nonlinear functional
Expand Down