imtiazziko / Variational-Fair-Clustering

Variational Fair clustering
11 stars 3 forks source link

when clustering option is k-means, KeyError: 'X_s' #1

Closed rebpan closed 1 year ago

rebpan commented 1 year ago

Traceback (most recent call last): File "C:\Users\ddd\Anaconda3\envs\VFC\lib\multiprocessing\pool.py", line 119, in worker result = (True, func(*args, *kwds)) File "C:\Users\ddd\Anaconda3\envs\VFC\lib\multiprocessing\pool.py", line 44, in mapstar return list(map(args)) File "C:\Users\ddd\Code\Variational-Fair-Clustering\src\fair_clustering.py", line 20, in kmeans_update X = utils.SHARED_VARS['X_s'] KeyError: 'X_s'

I find in multiprocessing, utils.SHARED_VARS variable becomes NULL

rebpan commented 1 year ago

There is a problem running on windows, it works fine on linux