summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authordkazanc <dkazanc@hotmail.com>2019-11-27 18:38:59 +0000
committerdkazanc <dkazanc@hotmail.com>2019-11-27 18:38:59 +0000
commitcdef6a981f1772ed04fe44bbe2b8251983a4ba7a (patch)
tree8a839450703c9b2c3284cea7c5298e86fa91267f /demos
parentccd5ef48846c613d29c6f3a33d99aa69d636a47c (diff)
downloadregularization-cdef6a981f1772ed04fe44bbe2b8251983a4ba7a.tar.gz
regularization-cdef6a981f1772ed04fe44bbe2b8251983a4ba7a.tar.bz2
regularization-cdef6a981f1772ed04fe44bbe2b8251983a4ba7a.tar.xz
regularization-cdef6a981f1772ed04fe44bbe2b8251983a4ba7a.zip
modifications in pdtv
Diffstat (limited to 'demos')
-rw-r--r--demos/demo_cpu_regularisers.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/demo_cpu_regularisers.py b/demos/demo_cpu_regularisers.py
index 9888743..09781d5 100644
--- a/demos/demo_cpu_regularisers.py
+++ b/demos/demo_cpu_regularisers.py
@@ -179,7 +179,8 @@ pars = {'algorithm' : PD_TV, \
'tolerance_constant':1e-06,\
'methodTV': 0 ,\
'nonneg': 1,
- 'lipschitz_const' : 6}
+ 'lipschitz_const' : 8,
+ 'tau' : 0.0025}
print ("#############PD TV CPU####################")
start_time = timeit.default_timer()
@@ -189,7 +190,8 @@ start_time = timeit.default_timer()
pars['tolerance_constant'],
pars['methodTV'],
pars['nonneg'],
- pars['lipschitz_const'], 'cpu')
+ pars['lipschitz_const'],
+ pars['tau'],'cpu')
Qtools = QualityTools(Im, pd_cpu)
pars['rmse'] = Qtools.rmse()