FATE icon indicating copy to clipboard operation
FATE copied to clipboard

define transfer variables in new Alg

Open patricxu opened this issue 3 years ago • 0 comments

Version: 1.9.0

I have developped a new HomoGraph plugin similar to HomoNN(the demo in FATE). but it always stucked when try to get the loss and other variables from the remote client/host. It looks like some error in transfer-variables.

According to the Development Guide of 1.9.0, we should define a transfer variable object of this module in federateml/transfer_variable/transfer_class. But when I search through the folder, I didn't find anything like Homo_nn_transfer.py for HomoNN. So my question is. How does HomoNN transfer varibles without the file and where to register the new transfer-variables for new algorithms?

Besides, in older verion, FATE 1.6.0 for example, there is a homo_nn.json in federateml/transer_variable/auth_conf/ which specifies the actural transer-variables for HomoNN. All we have to do is to copy and modify the file for new algorithms similar to HomoNN. But in 1.9.0 there is NO such folder!

patricxu avatar Oct 10 '22 03:10 patricxu