FedML icon indicating copy to clipboard operation
FedML copied to clipboard

How to remove mlops?

Open JessKXWL opened this issue 3 years ago • 4 comments

How to run fedml /python/examples/simulation/MPI locally_ base_ framework_ The code in example, I use readme.md runs. The error in the figure appears. I have deployed the mqtt server locally. I have configured comm in the configuration file_ args.mqtt_ config_ Path, but it doesn't work

image

How to remove mlops? I set using_mlops: false has no effect

JessKXWL avatar Aug 11 '22 08:08 JessKXWL

@JessKXWL Please update the code to 0.7.230, it should be fixed.

chaoyanghe avatar Aug 11 '22 22:08 chaoyanghe

@chaoyanghe Thank you for your advice. Now the problem has been solved. Now my local operation is like this. It seems that I should have finished the training. However, I can't find the trained model and the logs during the operation image This is the log path I set. image image image There is no model file in "fedml_client" and "fedml_server".fedml_config.yaml,The log file path in "fedml_config.yaml" does not seem to work. image

JessKXWL avatar Aug 12 '22 01:08 JessKXWL

@chaoyanghe I updated fedml to 0.7.230 on CentOS This is my config file

When I ran this command(python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml), an error occurred. image This is the configuration information read by the program. image

JessKXWL avatar Aug 12 '22 01:08 JessKXWL

About the trained model I can't find problem Should we add a "write_sensor_dict_to_mnn" function similar to "python/fedml/cross_device/server_mnn/utils. py" in "python/fedml/cross_silo/client/utils. py", and then call this function at the position on the figure? image image

JessKXWL avatar Aug 12 '22 02:08 JessKXWL

@chaoyanghe I updated fedml to 0.7.230 on CentOS This is my config file

When I ran this command(python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml), an error occurred. image This is the configuration information read by the program. image

Please update the code to 0.7.287, it should be fixed.

fedml-alex avatar Aug 13 '22 05:08 fedml-alex

Maybe you should reinstall fedml with the following commands: pip uninstall fedml; pip install fedml, then you may display the fedml version: pip list |grep fedml

@chaoyanghe I updated fedml to 0.7.230 on CentOS This is my config file When I ran this command(python torch_fedavg_mnist_lr_one_line_example.py --cf fedml_config.yaml), an error occurred. image This is the configuration information read by the program. image

Please update the code to 0.7.287, it should be fixed.

Thank you for your advice. But I update the code to 0.7.287. The problem is still unsolved,

JessKXWL avatar Aug 15 '22 01:08 JessKXWL

@JessKXWL Maybe you should reinstall fedml with the following commands: pip uninstall fedml; pip install fedml, then you may display the fedml version: pip list |grep fedml

chaoyanghe avatar Aug 19 '22 15:08 chaoyanghe