Open yaman-hub opened 5 months ago
Hi @yaman-hub, I think that the local_model
that you pass to the Parameters
is None
. I'd guess model.save_model('model_name')
returns None. You need to pass the serialized model parameters instead.
@yaman-hub has this issue been resolved? I am also doing the experiment on CatBoost and LightGBM with flower
Describe the bug
I am trying to implement federated learning using Flower from the link: https://github.com/adap/flower/tree/main/examples/xgboost-quickstart However, I am using CatBoost model instead of XGBoost, and I am also using my own dataset. Knowing that the code is working fine without changing the model to catboost.
Steps/Code to Reproduce
Client Code
Server Code
Expected Results
The server aggregated the models from all clients and gave me results.
Actual Results
An error on the client side that said: " return Parameters(tensors=parameters.tensors, tensor_type=parameters.tensor_type) TypeError: None has type NoneType, but expected one of: bytes"
However, the server will continue working until I stop it.
What might be the cause of the problem?