'numpy.ndarray' object has no attribute 'mode'
I setup the code by following your instruction. And I got an error when I try to run experiment/disc_random_on.py. Thanks for your help.
Traceback (most recent call last):
File "experiments/disc_random_on.py", line 158, in
I had the same issue and tracked it down to the custom joblib.pool: https://github.com/chrodan/joblib/blob/01611a53c2f2783ef80530bbcc146ef804f25e76/joblib/pool.py#L54.
I managed to get around this by replacing the MemmapingPool with multiprocessing.pool.Pool in the custom joblib here: https://github.com/chrodan/joblib/blob/01611a53c2f2783ef80530bbcc146ef804f25e76/joblib/parallel.py#L487.
Not an ideal solution, but got the code running.