‘’windows10 simulation error ‘’ FileNotFoundError: [WinError 2] when running ‘’torch_fedavg_mnist_lr_step_by_step_example.py‘’
Hello: when I run the file mentioned in the title which is in the path of ‘FedML\python\examples\simulation\sp_fedavg_mnist_lr_example’, I got the following results:
======== FedML (https://fedml.ai) ======== FedML version: 0.7.282 Execution path:D:\Anaconda\3.8\envs\fedml.new\lib\site-packages\fedml_init_.py
======== Running Environment ======== OS: Windows-10-10.0.19041-SP0 Hardware: AMD64 Python version: 3.7.13 (default, Mar 28 2022, 08:03:21) [MSC v.1916 64 bit (AMD64)] PyTorch version: 1.12.0+cpu MPI4py is NOT installed
======== CPU Configuration ======== The CPU usage is : 0% Available CPU Memory: 10.4 G / 15.855926513671875G
======== GPU Configuration ======== No GPU devices [] args.client_id_list = None training_type != FEDML_TRAINING_PLATFORM_CROSS_DEVICE and training_type != FEDML_TRAINING_PLATFORM_CROSS_SILO
Process finished with exit code 1
**However, I have a RTX 3060Ti on my machine, I have no idea why it shows No GPU devices。 And I have installed MPI4py, but it shows I haven't**
**What‘s more, I got the following error information:**
Traceback (most recent call last):
File "G:/Desktop/FedML/python/examples/simulation/sp_fedavg_mnist_lr_example/torch_fedavg_mnist_lr_step_by_step_example.py", line 7, in
**I have no idea how to solve these problems, so I come here to look for helps**
Please update the code to 0.7.287, it should be fixed.
@TongGeTT Hi, is this issue solved on your side?
Closing this, since the issue has been resolved in version 0.7.287.