DiCE icon indicating copy to clipboard operation
DiCE copied to clipboard

wrong link for VAE CF generation in Readme

Open giandos200 opened this issue 3 years ago • 1 comments

Link mistake in VAE method:

Gradient-based methods

that should be:

https://github.com/interpretml/DiCE/blob/master/docs/source/notebooks/DiCE_getting_started_feasible.ipynb

giandos200 avatar Jun 16 '22 10:06 giandos200

line 51 of file feasible_base_vae.py and line 50 of file feasible_model_approx.py the base_model_dir get error:

self.base_model_dir = '../../../dice_ml/utils/sample_trained_models/'

i've resolved with:

import os
self.base_model_dir = ('/').join(os.path.dirname(__file__).split('/')[:-1]+['utils','sample_trained_models',''])

i don't know if is the best way of doing it, (probably not)!

giandos200 avatar Jun 16 '22 12:06 giandos200