alibi icon indicating copy to clipboard operation
alibi copied to clipboard

When use explainer.fit(X_train),it went into a loop of error

Open HevOHel opened this issue 1 year ago • 0 comments

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?

HevOHel avatar Nov 24 '23 06:11 HevOHel