I have been running contrast_curve() on a large cube (9.21 GB, 28800 frames, 293x293 pixels) with nproc = 5 and have noticed the function crashing depending on the value of nbranch. when set to 3 the run will consistently crash whereas it usually is able to finish when set to 1.
vip_hci version: 2.1.0
Other settings used are:
sigma = 5
algo = median_sub
student = True
imlib = 'opencv'
I have kept track of the memory usage while running the function and noticed a difference depending on the value of nbranch.
When nbranch = 1, the memory will usually increase but level out after some time, and the run will usually finish after ~2-3 hours.
When nbranch = 3, the memory will not level out and will continue to slowly increase with occasional sharp spikes. The run will stop without an error message and without creating any output files, anywhere from 11-15 hours runtime.
This is on a shared machine but I've seen the same behaviour both when others were actively using it and when I was the only one running anything so I don't think it's just contention from other users.
I'm hoping that someone who is more familiar with VIP will have a better idea of what's causing this, and a potential fix. I have had nbranch = 3 complete once after ~12 hours, and have also had nbranch = 1 crash after running (but these are exceptions).
Happy to share my script for calling the function if that helps.
I have been running
contrast_curve()on a large cube (9.21 GB, 28800 frames, 293x293 pixels) withnproc = 5and have noticed the function crashing depending on the value ofnbranch. when set to 3 the run will consistently crash whereas it usually is able to finish when set to 1.vip_hci version:
2.1.0Other settings used are:
sigma = 5algo = median_substudent = Trueimlib = 'opencv'I have kept track of the memory usage while running the function and noticed a difference depending on the value of nbranch.
When
nbranch = 1, the memory will usually increase but level out after some time, and the run will usually finish after ~2-3 hours.When
nbranch = 3, the memory will not level out and will continue to slowly increase with occasional sharp spikes. The run will stop without an error message and without creating any output files, anywhere from 11-15 hours runtime.This is on a shared machine but I've seen the same behaviour both when others were actively using it and when I was the only one running anything so I don't think it's just contention from other users.
I'm hoping that someone who is more familiar with VIP will have a better idea of what's causing this, and a potential fix. I have had
nbranch = 3complete once after ~12 hours, and have also hadnbranch = 1crash after running (but these are exceptions).Happy to share my script for calling the function if that helps.