From cdef6a981f1772ed04fe44bbe2b8251983a4ba7a Mon Sep 17 00:00:00 2001 From: dkazanc Date: Wed, 27 Nov 2019 18:38:59 +0000 Subject: modifications in pdtv --- demos/demo_cpu_regularisers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'demos') 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() -- cgit v1.2.3