Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
skmad-suite
tff2020
Commits
ac4dfcca
Commit
ac4dfcca
authored
Nov 30, 2020
by
valentin.emiya
Browse files
fix bug rand_state in SolveTffExperiment
parent
b33dd5b0
Pipeline
#6033
passed with stage
in 5 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/tffpy/experiments/exp_solve_tff.py
View file @
ac4dfcca
...
...
@@ -155,7 +155,8 @@ class SolveTffExperiment(Experiment):
fig_dir
=
None
)
solver_params
=
dict
(
tol_subregions
=
[
None
,
1e-5
],
tolerance_arrf
=
1e-3
,
proba_arrf
=
1
-
1e-4
)
proba_arrf
=
1
-
1e-4
,
rand_state
=
0
)
if
setting
==
'light'
:
data_params
[
'loc_source'
]
=
'bird'
data_params
[
'wideband_src'
]
=
'car'
...
...
@@ -852,8 +853,8 @@ class Solver:
The estimated solution and additional information
"""
gmtff
=
GabMulTff
(
x_mix
=
x_mix
,
mask
=
mask
,
dgt_params
=
dgt_params
,
signal_params
=
signal_params
,
tol_subregions
=
self
.
tol_subregions
)
signal_params
=
signal_params
,
tol_subregions
=
self
.
tol_subregions
)
gmtff
.
compute_decomposition
(
tolerance_arrf
=
self
.
tolerance_arrf
,
proba_arrf
=
self
.
proba_arrf
,
rand_state
=
self
.
rand_state
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment