Skip to content
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

VAE example not working #361

Open
kkuunnh opened this issue Apr 18, 2023 · 2 comments
Open

VAE example not working #361

kkuunnh opened this issue Apr 18, 2023 · 2 comments

Comments

@kkuunnh
Copy link

kkuunnh commented Apr 18, 2023

Hi, when I ran the code shown in the doc http://interpret.ml/DiCE/notebooks/DiCE_getting_started_feasible.html.
Error :init() got an unexpected keyword argument 'encoded_size'
and I coop this with the set: method= none but I got an error:
'PublicData' object has no attribute 'ohe_encoded_feature_names'
Would someone be able to help me with this?

@xueyagaga
Copy link

Hi, kkuunnh
I also meet this BUG. This is due to version 0.9 of DICE. The dice_ml.Dice method no longer has the encoded_size, lr, etc. hyperparameters in this version.
The solution is downgrading to DICE-0.4. See https://github.com/interpretml/DiCE/releases.
I tested that the VAE tutorial can be run.

image

@xueyagaga
Copy link

Hi, when I ran the code shown in the doc http://interpret.ml/DiCE/notebooks/DiCE_getting_started_feasible.html. Error :init() got an unexpected keyword argument 'encoded_size' and I coop this with the set: method= none but I got an error: 'PublicData' object has no attribute 'ohe_encoded_feature_names' Would someone be able to help me with this?

I guess we're both trying to combine causal inference with counterfactuals, and I hope this reply helps you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants