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

Help Wanted: How To Apply This Tool? #18

Closed
gongzhimin opened this issue Nov 4, 2020 · 3 comments
Closed

Help Wanted: How To Apply This Tool? #18

gongzhimin opened this issue Nov 4, 2020 · 3 comments

Comments

@gongzhimin
Copy link

Hello, ml_privacy_meter looks good. it was well encapsulated.
I'm going to apply your tool to evaluate my model.
And I have some questions as follow.

  1. I have programmed the model with pytorch, while your tool was based on tensorflow. Can it work in this scenario?
  2. In tutorials' MEADME.md, it wrote:
    image
    Do the number 26, 6 fit in all models? Should I change them?
  3. What's the tool's requirement for dataset? Can I use any dataset to train my model?
@mihirkhandekar
Copy link
Contributor

Hello,
Following are the responses to your queries.

  1. The tool expects a Keras/TensorFlow model. You could create the model in Keras and copy layer weights from your PyTorch model, or use some conversion library for the same.
  2. The layers/gradient parameter depends on which layer or gradient you want to exploit. The specification of these is given in the documentation - https://github.com/privacytrustlab/ml_privacy_meter#analyzing-a-trained-model
  3. Yes, you can use any dataset while following the format given in the datasets documentation - https://github.com/privacytrustlab/ml_privacy_meter/tree/master/datasets

@gongzhimin
Copy link
Author

Thanks for your reply!

@gongzhimin
Copy link
Author

Oh, sorry to bother you again.
I noticed that you mentioned federated learning.
image

It is a new field of ML. Why not write a tutorial about how to apply ml_privacy_meter in the FL setting?
I think it will be very popular.

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