Closed oterocoronel closed 11 months ago
Also happened in calculate_corr_map:
Updated main params file
Created dir E:\Data\Curly\20231202d\195518tUTC_Max15_depth300um_fov2044x2000um_res2p00x2p00umpx_fr03p348Hz_pow379p9mW\s3d-Curly_20231202d_380mW\mov_sub with tag mov_sub
Saving mov_sub to E:\Data\Curly\20231202d\195518tUTC_Max15_depth300um_fov2044x2000um_res2p00x2p00umpx_fr03p348Hz_pow379p9mW\s3d-Curly_20231202d_380mW\mov_sub
Adjusting temporal hpf to 500 to evenly divide 500 frames
Using conv_filt: gaussian, 1.00, 1.00
Using np_filt: unif, 1.50, 5.00
Created files and dirs for 5 batches
Running batch 1 of 5
Will process 500 frames (0-500, t_batch_size: 500)
Loaded and swapped, idx 0 to 500
Calculating corr map
Rolling mean filter
Stdev over time
Sharr creation
Sub and conv
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\multiprocessing\pool.py", line 519, in _handle_workers
cls._wait_for_updates(current_sentinels, change_notifier)
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\multiprocessing\pool.py", line 499, in _wait_for_updates
wait(sentinels, timeout=timeout)
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\multiprocessing\connection.py", line 879, in wait
ready_handles = _exhaustive_wait(waithandle_to_obj.keys(), timeout)
File "C:\Users\Freiwald\miniforge3\envs\suite3d-gpu\lib\multiprocessing\connection.py", line 811, in _exhaustive_wait
res = _winapi.WaitForMultipleObjects(L, False, timeout)
ValueError: need at most 63 handles, got a sequence of length 72
I forgot to change the job.params['n_proc_corr']
to something lower than the number of cores I have. That fixed it.
When trying to run the sweep_params like this:
It crashed: