You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by amin-kaveh March 27, 2023
Hi,
I am new in federated learning and openfl. I have two separated (let's call them private) datasets and I want to send them to each collaborators separately. When I review tutorials, it seems that FederatedDataSet gets all the data together and split them into multiple sets and then FederatedModel function sends the same model and splits of data to each collaborators.
But suppose I have private data that I want to sent to each collaborators:
data for collaborator 1: train_data_1, train_label_1, valid_data_1, valid_label_1
data for collaborator 2: train_data_2, train_label_2, valid_data_2, valid_label_2
Now, I want to send the model and data to each collaborators separately and then train them. Something like this:
Discussed in #778
Originally posted by amin-kaveh March 27, 2023
Hi,
I am new in federated learning and openfl. I have two separated (let's call them private) datasets and I want to send them to each collaborators separately. When I review tutorials, it seems that
FederatedDataSet
gets all the data together and split them into multiple sets and thenFederatedModel
function sends the same model and splits of data to each collaborators.This is the code that have have from tutorials:
But suppose I have private data that I want to sent to each collaborators:
data for collaborator 1:
train_data_1, train_label_1, valid_data_1, valid_label_1
data for collaborator 2:
train_data_2, train_label_2, valid_data_2, valid_label_2
Now, I want to send the model and data to each collaborators separately and then train them. Something like this:
And then start training them.
What are those commands and how can I train the model?
I really appreciate any help and insight.
The text was updated successfully, but these errors were encountered: