GithubHelp home page GithubHelp logo

Comments (10)

vincehong avatar vincehong commented on May 2, 2024 1

Which script are you running and what is the error message ?

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024 1

hi! the code I have ran is the vertical of logistic of example in Gemini-lab the instruction is as follows: https://alibaba-gemini-lab.github.io/docs/blog/tfe/ I don't know why the program cannot run as expected,but there is no error information just stopped at this moment: 2022-03-02 12-23-35 的屏幕截图

Your picture shows that server1 and server2 are halting and waiting for server0, this is normal. When you ran server0, the result will be printed on server0.

On very rare cases (I encountered), server0 will halt too, this may be because of bad network condition. Try choose other IP/ports, or use all the three workers on 127.0.0.1 to test if everything works.

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024 1

the config.json I have wrote is: { "server0": "machine1:43198", "server1": "machine2:27919", "server2": "machine3:27921" } the port I have chosen is by inputting netstat -a and find three random port is listening

Make sure you replace the "machinex" with the real IP.

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

hi!
the code I have ran is the vertical of logistic of example in Gemini-lab
the instruction is as follows:
https://alibaba-gemini-lab.github.io/docs/blog/tfe/
I don't know why the program cannot run as expected,but there is no error information just stopped at this moment:
2022-03-02 12-23-35 的屏幕截图

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

the config.json I have wrote is:
{
"server0": "machine1:43198",
"server1": "machine2:27919",
"server2": "machine3:27921"
}
the port I have chosen is by inputting netstat -a and find three random port is listening

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

by the way, my directory set is as follows:
├── commom.py
├── CONFIG.json
├── machine1
│   ├── aliceTrainFile.csv
│   ├── common.py
│   ├── config.json
│   ├── pycache
│   │   └── common.cpython-36.pyc
│   └── training_alice.py
├── machine2
│   ├── bobLabel.csv
│   ├── config.json
│   └── training_bob.py
├── machine3
│   ├── config.json
│   └── training_server.py
├── training_alice.py
├── training_bob.py
└── training_server.py
and the tensorflow I used is 1.15.2

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

Finally I made it!
Thanks!!
when I use tfe their own code , just one command windows can realize training jointly , so I want to learn how to realize a code in this way(like three directories). hh~
and very thanks for helping!

...
Batch 349
[[-0.02972108]
[ 0.0405426 ]
[-0.00335315]
...

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

By the way, Cheng ge, I recently read faster secure adaptive Gradient Descent by your team. is the code of this essay open source?

from tf-encrypted.

vincehong avatar vincehong commented on May 2, 2024

By the way, Cheng ge, I recently read faster secure adaptive Gradient Descent by your team. is the code of this essay open source?

Not yet, but MP-SPDZ proposed an improved version based on ours, and is open-sourced. See https://arxiv.org/abs/2107.00501?context=cs

from tf-encrypted.

Barry-ljf avatar Barry-ljf commented on May 2, 2024

thanks a lot ,I will go for it !

from tf-encrypted.

Related Issues (20)

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.