Coder Social home page Coder Social logo

property-inference-collaborative-ml's People

Contributors

cs2296 avatar csong27 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

property-inference-collaborative-ml's Issues

some problems about ''lfw_attributes.txt''

Hi, I have some problems with the file ''lfw_attributes.txt''. Where should i download the file? Does the experiment use text dataset of lfw instead of image dataset?I'm a little confused about that. Can you explain the reason? Many Thx!!!

problem with “p-test accuracy”

Hi, I would like to know the meaning of test accuracy and p-test accuracy in the following code. Is it the accuracy of the attack or the accuracy of the training task?

for batch in iterate_minibatches(X_test, y_test, 500, shuffle=False):
                inputs, targets = batch
                err, acc = val_fn(inputs, targets)
                val_err += err
                val_acc += acc
                val_batches += 1

            for batch in iterate_minibatches(X_test, p_test, 500, shuffle=False):
                inputs, targets = batch
                err, acc = pval_fn(inputs, targets)
                val_perr += err
                val_pacc += acc
                val_pbatches += 1

            sys.stderr.write("Iteration {} of {} took {:.3f}s\n".format(it + 1, num_iteration,
                                                                        time.time() - start_time))
            sys.stderr.write("  test accuracy:\t\t{:.2f} %\n".format(val_acc / val_batches / 500 * 100))
            sys.stderr.write("  p-test accuracy:\t\t{:.2f} %\n".format(val_pacc / val_pbatches / 500 * 100))
            start_time = time.time()

Problem with train_multi_task_ps()

I am getting this error when I run "distributed_sgd.py":
TypeError: train_multi_task_ps() got an unexpected keyword argument 'balance'

Upon inspecting the code, I realized that on line 117, the call to function "train_multi_task_ps()" includes an argument "balance = balance". But there is no such parameter as "balance" in the definition of "train_multi_task_ps()" on line 340. Can I take out the "balance = balance" argument without any consequences?

some problems about ''lfw_attributes.txt''

Hi, I have some problems with the file ''lfw_attributes.txt''. Where should i download the file? Does the experiment use text dataset of lfw instead of image dataset?I'm a little confused about that. Can you explain the reason? Many Thx!!!

Order to run the files

Hi, I try to run the code but it seems load_lfw_with_attrs() has some problems with imgs[common_indices]. I think it might cause by wrong order to run the code? Could you provide the correct order to run the python files in this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.