alibi
alibi copied to clipboard
When use explainer.fit(X_train),it went into a loop of error
I'm trying to use KernelShap, but it comes to an error loop.
When I fit dataset with torch.tensor type, it shows TypeError: Type <class 'torch.Tensor'> is not supported for background data!
but when I change it into numpy.array, it says AttributeError: 'numpy.ndarray' object has no attribute 'to'
Is there anyone who has met the same problem as me?