GithubHelp home page GithubHelp logo

zeyneddinoz / submfl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 127.74 MB

subMFL: Compatible subModel Generation for Federated Learning in Device Heterogeneous Environment

Jupyter Notebook 100.00%
decentralized-learning distributed-learning edge-computing edge-intelligence federated-learning heterogeneous-environment mobile-edge-agent model-compression model-generalization model-personalization

submfl's Introduction

subMFL: Compatible subModel Generation for Federated Learning in Device Heterogeneous Environment

Dependencies:

{"flwr": "0.19.0", "torch": "1.13.1+cu117", "torchvision": "0.14.1+cu117", "numpy": "1.24.1", "pandas": "1.5.3", "json": "2.0.9", "matplotlib": "3.6.3"}

For the flower library first install:

sudo pip install -U flwr["simulation"]

Then:

sudo pip install -U flwr==0.19.0

Usage:

  • Run the juypter notebooks files separately in different folders. The required libraries will be installed and results will be saved automatically.

Note: Due to some random behaviours in experiments such as the distribution of datasets, the outputs may not be exactly the same as it was in the paper. The main point needed to be focused on is despite preserved good metrics how participation can be increased by generating a list of submodels, while the pruning stage is completely on the server side without the need for any data instance. Besides, the main reason behind potential accuracy improvement on sparsed models is actually the over-parameterised of the dense model causes lesser performance. For more detail, please read the research paper. It will be shared after the presentation.

For feedback or more information, please do not hesitate to contact me.

Contact:

Stay with science!

submfl's People

Contributors

zeyneddinoz avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ceylanopuz07

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.