Closed zkokaja closed 1 year ago
@VeritasJoker
Do not hard code number of processes p = Pool(4) # multiprocessing
Suggestion: replace with p = Pool(processes=multiprocessing.cpu_count())
, but only when running on a compute node and ensure cpu_count() returns only the requested number of cores.
Also print the number of chosen processes so we can see what it chose
@VeritasJoker Remove unused functions in encoding main and utils (and remove the import statements for them)
load_header()
from tfsenc_utils
encoding_regression*
cv_lm_003_prod_comp*
parallel_encoding
andprocess_sig_electrodes