Giter Site home page Giter Site logo

per_federated_learning_onraspberry's Introduction

FederatedLearningOnRaspberry

可部署在硬件平台上进行多机训练的同步联邦学习框架

项目介绍

  • 联邦平均算法(Fedavg)
  • MNIST数据集(独立同分布)
  • 逻辑回归模型与卷积神经网络模型(Logistic&CNN)
  • 兼顾文件传输功能(便于收集客户端上的数据)
  • 代码包含原有冗余部分未删除,部分代码块未使用
  • 测试集数据集请使用MNIST_test2.pkl,可兼容两种神经网络模型
  • 环境配置请参考environment.txt

使用须知

  • 客户端与服务器程序为client_demo_filetrans.py,server_demo_filetrans.py
  • 请先运行服务器端文件再运行客户端文件
  • 默认客户端数量为20,请在服务器端文件中修改n_nodes的值
  • 联邦学习框架各项设置在服务器端文件read_options中修改

如有任何问题,请在issues区中提出

per_federated_learning_onraspberry's People

Contributors

yuanjiejia avatar

Watchers

 avatar

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.