problem in fx.init('default', col_names = collaborator_list) --- #784
Replies: 1 comment
-
I suggest you try using the python native api instead of trying to reshape one of the tutorials to you custom project. I have just finished my FL experiment and at first I also tried to replicate the tutorials' examples but I realized that using the native api was an easier approach. I suggest you to check the following two repos that helped me a lot while customizing my experiment: Moreover, if you look through the discussions, you will find some questions that I have been encountering while creating my experiment and they might help you. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hi,
When I run the available tutorials and examples in openFl (for pyTorch), it perfectly works. For example the following code is working fine:
and this code perfectly works.
Now suppose I just change
fx.init('torch_cnn_mnist', col_names = collaborator_list)
tofx.init('default', col_names = collaborator_list)
, and the rest of the code is the same as before. But I get the following error:Why is this happening and how I can fix it. I am asking because I want to perform a federated learning on a different dataset and a different network model (FeedForward NN) and I need to know how in general I can run federated learning with openfl.
Beta Was this translation helpful? Give feedback.
All reactions