diff options
author | dkazanc <dkazanc@hotmail.com> | 2019-11-27 18:38:59 +0000 |
---|---|---|
committer | dkazanc <dkazanc@hotmail.com> | 2019-11-27 18:38:59 +0000 |
commit | cdef6a981f1772ed04fe44bbe2b8251983a4ba7a (patch) | |
tree | 8a839450703c9b2c3284cea7c5298e86fa91267f /demos | |
parent | ccd5ef48846c613d29c6f3a33d99aa69d636a47c (diff) | |
download | regularization-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.py | 6 |
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() |