hassonlab / 247-encoding

Contains python scripts for performing encoding on 247 data.
0 stars 9 forks source link

tfs_encmain updates #32

Closed zkokaja closed 1 year ago

zkokaja commented 2 years ago
zkokaja commented 2 years 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

zkokaja commented 2 years ago

@VeritasJoker Remove unused functions in encoding main and utils (and remove the import statements for them)