You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: