miceforest icon indicating copy to clipboard operation
miceforest copied to clipboard

Process finished with exit code -1073741571 (0xC00000FD)

Open samFarrellDay opened this issue 4 years ago • 3 comments

Getting this reliably. Chased it down to scipy.Spatial.KDtree. Changing leafsize doesn't help. candidate_preds is float64, shape (294695, 1).

samFarrellDay avatar Oct 01 '21 16:10 samFarrellDay

Changing to float32 does nothing. Setting mms = 0.5 fixed the issue. Worried there might be a upper limit to the candidates that KDtree can handle.

samFarrellDay avatar Oct 01 '21 16:10 samFarrellDay

Link to scipy issue. Temporary fix is to use balanced_tree=False. https://github.com/scipy/scipy/issues/14799

AnotherSamWilson avatar Oct 04 '21 13:10 AnotherSamWilson

Still getting this error for data with lots of duplicate candidate_preds. For anyone getting this error code, run:

impory sys
sys.setrecursionlimit(# dupes)

Where # dupes is some number of duplicate candidate_pred values that are causing the problem. Another solution is to use a smaller data_subset for the variable that is failing, specifically.

samFarrellDay avatar Dec 01 '21 15:12 samFarrellDay