You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm receiving joblib warnings on "persisting input arguments"
pipeline.py:184: UserWarning: Persisting input arguments took 0.92s to run.
If this happens often in your code, it can cause performance problems
(results will be correct in all cases).
The reason for this is probably some large input arguments for a wrapped
function (e.g. large strings).
THIS IS A JOBLIB ISSUE. If you can, kindly provide the joblib's team with an
example so that they can fix the problem.
T_space, top_ruler = ruler_detection.main(image_rgb, axes)
pipeline.py:187: UserWarning: Persisting input arguments took 0.86s to run.
If this happens often in your code, it can cause performance problems
(results will be correct in all cases).
The reason for this is probably some large input arguments for a wrapped
function (e.g. large strings).
THIS IS A JOBLIB ISSUE. If you can, kindly provide the joblib's team with an
example so that they can fix the problem.
bfly_rgb, bfly_bin = binarization.main(image_rgb, top_ruler, args.grabcut, axes)
Should we worry about that? Thank you!
The text was updated successfully, but these errors were encountered:
I presume this is because we pass in large NumPy arrays. Why would they say this is a joblib issue? It takes time to checksum a large array. Maybe check with the joblib folks?
As a workaround I am currently using np.set_printoptions to reduce the verbosity of repr(x) on a NumPy array x. We could potentially use the same trick in _persist_input (restoring the original options with a {get,set}_printoptions pair), but this does not feel very satisfactory.
Maybe it suits us...? I'll have to check the code.
I'm receiving
joblib
warnings on "persisting input arguments"Should we worry about that? Thank you!
The text was updated successfully, but these errors were encountered: