nusdbsystem / pivot

Privacy preserving vertical federated learning for tree-based models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"client.host_names" segment fault

wercsrsr opened this issue · comments

https://github.com/nusdbsystem/pivot/blob/master/src/models/cart_tree.cpp#L306 When the program runs at this point, a segment error occurs.

I try to cout "client.host_names", however, an error occurs when the cout statement is compiled.
image
image

The setup_sockets function is to set up communications with the MPC parties, you may need to check your Pivot_SPDZ parties are started and are listening on the correct ports, following the configurations here.

The cout line you add is incorrect as vector cannot be printed directly in c++. Try to print using the for loop.