Closed MikeSullivan7 closed 3 days ago
Confirm on main. Switching back to release-2.7.0
I don't see it, so must be a regression. (Note you need mamba install pyqtgraph=0.13.3
to run older versions).
Looks like this is the issue from git bisect:
da3b42053e50fbce5a8f2d667075a695e8eaf1a9 is the first bad commit
commit da3b42053e50fbce5a8f2d667075a695e8eaf1a9
Author: ashmeigh <ashleymeigh0@gmail.com>
Date: Wed Mar 6 18:09:25 2024 +0000
remove cuda out compute function
.../core/operations/median_filter/median_filter.py | 28 ++++++++++++----------
1 file changed, 15 insertions(+), 13 deletions(-)
Ah, could be:
- params = {'mode': mode, 'force_cpu': force_cpu}
+ params = {'mode': mode, 'size': size, 'force_cpu': force_cpu, 'progress': progress}
Things in the params
dict get passed to the worker processes though pickle. The error is saying there is a lock object that can't be pickled. Its probably in the progress object, which should be passed as a progress
parameter, rather than in the params dict.
Summary
When applying the Median filter with default parameters on a dataset, the operation fails.
Steps To Reproduce
Expected Behaviour
The Median filter should be applied to the dataset
Current Behaviour
The Operation fails
Failure Logs
Screenshot(s)