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

FileNotFoundError: [Errno 2] No such file or directory: '../privacy_meter/report_files/explanations.json' #90

Closed
sebasrb09 opened this issue Nov 26, 2022 · 2 comments

Comments

@sebasrb09
Copy link

In order to plot the ROCCurveReport, it is needed a explanations.json file. But it is never created and therefore, the report crashes. I'm trying

ROCCurveReport.generate_report(`
    metric_result=audit_results,
    inference_game_type=InferenceGame.PRIVACY_LOSS_MODEL,
    show=True
)
@changhongyan123
Copy link
Contributor

Hi @sebasrb09, the explanations.json file is included in our repository and you don't need to generate it. See:
https://github.com/privacytrustlab/ml_privacy_meter/blob/master/privacy_meter/report_files/explanations.json

Can you check if you installed the privacy meter correctly and if the file exists in the local version of the privacy meter?

@sebasrb09
Copy link
Author

Hi! I installed it with pip in an anaconda environment and the file does not exist in the local version. But I had not found it, I will add it manually to my local version.

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

No branches or pull requests

3 participants