SMILELab-FL / FedLab

A flexible Federated Learning Framework based on PyTorch, simplifying your Federated Learning research.
https://fedlab.readthedocs.io
Apache License 2.0
738 stars 127 forks source link

Got error i am running examples/scale-mnist-board,examples/hierarchical-hybrid-mnist,/examples/standalone-mnist-board #355

Open ibad321 opened 3 months ago

ibad321 commented 3 months ago

Fedlab version =1.3.0 python version =Python 3.10.12 torch=1.7.1 torchvision=0.8.2 No Gpu i am running on laptop corei5 12th Generation Cpu Here is Screenshot Screenshot from 2024-08-11 18-51-19 Screenshot from 2024-08-11 18-55-41 Screenshot from 2024-08-11 18-56-15 Screenshot from 2024-08-12 15-03-40 Screenshot from 2024-08-12 15-08-00

dunzeng commented 3 months ago

Sorry for the late reply.

The example codes are adapted to the latest version of FedLab. Please try download the source code of the main branch and run it locally.

ibad321 commented 3 months ago

Sorry for the late reply.

The example codes are adapted to the latest version of FedLab. Please try download the source code of the main branch and run it locally.

Thanks for reply Got the same Error when clone link git clone https://github.com/SMILELab-FL/FedLab.git and then installed the requiremnt pip install -r requirements.txt

dunzeng commented 3 months ago

Sorry for the late reply.

If you want to run an example like *-board, please read this https://github.com/SMILELab-FL/FedLab/tree/master/fedlab/board.

And, there are some API mismatches as some examples are out of date. I will fix them ASAP.

ibad321 commented 3 months ago

Sorry for the late reply.

If you want to run an example like *-board, please read this https://github.com/SMILELab-FL/FedLab/tree/master/fedlab/board.

And, there are some API mismatches as some examples are out of date. I will fix them ASAP.

@dunzeng Thanks for Responce But with out bord example the rest of Example Also gove Error i mention the Screen Shot of hierarchical-hybrid , Asynochronous-cross-process ,cross-process-mnist