Git Product home page Git Product logo

federated_learning_course's Introduction

federated_learning_course

The materials for the Federated Learning Course Using PyTorch and PySyft
Federated Learning course on Udemy

plot



What you will learn?

  • Introduction to Deep Learning and Neural Networks
  • Introduction to Federated Learning
  • Build Neural Networks from scratch using PyTorch
  • Load your datasets in IID, non-IID, and non-IID unbalanced settings
  • Introduction to PySyft
  • Federated Learning techniques
    • FedAvg
    • FedSGD
    • FedProx
    • FedDANE
  • Build your custom optimizer using PyTorch
  • Introduction to Differential Privacy
  • Implement FedAvg using Differential Privacy
  • Federated Learning on cloud
  • Implement FedAvg on cloud



You do not need any prerequisites!



PySyft version used in the course for all the local experiments 0.2.9
PySyft version used in the course for all the cloud experiments 0.3.0
You do not have to worry about torch version or any other library. All of these libraries are attached to PySyft and will be downloaded using a single command pip install syft==<version>
However, if you install PySyft=0.2.9, it come with Torch=0.4 by default. But some functionalities are not supported by PyTorch=0.4 anymore. Therefore, after installing PySyft=0.2.9 you need to upgrade your Torch to 1.6 by running: pip install torch==1.6.

When you are working on Differential Privacy and you want to use Opacus then you can install it using pip install opacus.

Recommended Use two different anaconda envs:

  • Syft 0.2.9 To run all the local experiments you need PySyft=0.2.9. After that update your torch to 1.6.
  • Syft 0.3.0 for all the cloud experiements. You do not need to update Torch.



References

federated_learning_course's People

Contributors

gharibim 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.