Example #1
0
 def cb_local(Y, source_model):
     convergence_callback(
         Y,
         source_model,
         X_mics,
         n_sources_target,
         SDR,
         SIR,
         cost_list,
         eval_time,
         refs,
         ref_mic,
         stft_params,
         args.algo,
         not bss.is_determined[args.algo],
     )
Example #2
0
 def cb(Y, source_model):
     convergence_callback(
         Y,
         source_model,
         X_mics,
         n_targets,
         results[-1]["sdr"],
         results[-1]["sir"],
         results[-1]["cost"],
         eval_time,
         refs,
         parameters["mix_params"]["ref_mic"],
         parameters["stft_params"],
         name,
         not bss.is_determined[name],
     )