-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown error when running TCAV on a multiclass dataset #793
Comments
@terraformmachine thanks for the colab with the reproduction of the issue! One issue I noticed is that when you load your dataset, your 'label' field for each example is an integer for the label class ID, but you want it to be a string from your vocab for use in LIT. In the future, we are looking to add dataset and model field validation to catch and indicate these types of issues on first launch instead of having unexpected issues when using LIT. If you change your setting of 'label' in the dataset But, I don't think that actually fixes your TCAV issue. To debug that, I am currently running the TCAV interpreter directly in the colab as opposed to through the UI. That way, I can see on what line of code the TCAV failed. Here is the code I use for that:
|
I was able to get TCAV working for your model once I also updated the Please let me know if this works for you. |
@jameswex that fixed it! thank you very much for your help 😃 |
I'm getting an unknown error when running TCAV on a multiclass dataset.
Steps to reproduce:
Unknown Error 😱
Dataset class:
Model class:
The text was updated successfully, but these errors were encountered: