@ogriselI have recognized the problem. My worker fucntion was nested inside the function in which theParallel()was called, i guess this is regarded as thelocalobject that couldnt be pickled. Please see below: deffunction():defworker():Parallel(backend='multiprocessing')(delayed(worker))() When...
Hi, I get the error 'Could not pickle the task to send it to the workers' when I call: reconstructed=Parallel(n_jobs=6,verbose=50)(delayed(self.spectral_surrogates)(data_slice) for perm in range(0, self.settings['n_perm_spec'])) spectral...