The code for the paper "Blockchain Assisted Decentralized Federated Learning (BLADE-FL): Performance Analysis and Resource Allocation"
The code is based on pytorch, with python version 3.6 or above
Please run main_FL&BL.py
The datasets are stored in the folder "data" The simulation results are stored in the folder "SimulationData" Please create these two foders to ensure that the code works correctly
Thank you for visiting!