FedML icon indicating copy to clipboard operation
FedML copied to clipboard

[sp_fedavg_mnist_lr_example]: FileNotFoundError: [Errno 2] No such file or directory:' '

Open khoaanhtran opened this issue 2 years ago • 1 comments

Dear Chaoyanghe

I have install the FedML and tested the framework as well with the first example ([torch_fedavg_mnist_lr_one_line_example.py], its so good. However, with the second and third ([torch_fedavg_mnist_lr_step_by_step_example.py, torch_fedavg_mnist_lr_custum_data_and_model_example.py) have an error as shown in image.

FileNotFoundError: [Errno 2] No such file or directory:' ' error

Is there anything I have a mistake?

khoaanhtran avatar May 09 '22 12:05 khoaanhtran

Did you pass in the path to the config file to the python script such as: python torch_fedavg_mnist_lr_step_by_step_example.py --cf=/home/mpotter/FedML/python/examples/simulation/sp_fedavg_mnist_lr_example/fedml_config.yaml

mlpotter avatar May 09 '22 13:05 mlpotter