mc2-project / federated-xgboost

Federated gradient boosted decision tree learning
68 stars 20 forks source link

Stuck after "Starting federated training session" during demo run #19

Open SavvinaDaniil opened 3 years ago

SavvinaDaniil commented 3 years ago

Dear all, I have been trying to use this library, it all works well when installing, but the program is stuck when the federated session starts when I am using the demo. I attach these screenshots:

worker1

^This is an error a get when I run python serve.py within the node, it still runs after that but maybe it's relevant.

worker2

This is where it stops. The last line shows because I was printing things, trying to figure out what the problem is, basically it stops at: for line in iter(process.stdout.readline, b'') <- this doesn't run! Btw, both the nodes and the aggregator are in the same machine for the demo. Thank you in advance for your help!

chester-leung commented 3 years ago

Hi @SavvinaDaniil, very sorry for the delay. We must have missed this.

If you want to run both nodes on the same machine, you will have to modify the ports on which they listen -- each port should be unique. In particular, you will have to modify this line.

Please let us know if there are any other issues. We promise that we will reply much quicker this time!