Comments (2)
This can be viewed as a pre-requisite to issue #119, for providing a unified data exchange format, such that different data processors can be plugged into the data-exchange, not only for reformatting, but also for other features such as local differential privacy and model/feature compression.
from plato.
This can be quite easily achieved by converting framework-specific weights to numpy arrays in Algorithm.extract_weights()
and Algorithm.load_weights()
:
plato/plato/algorithms/mindspore/fedavg.py
Lines 13 to 25 in c238f2d
plato/plato/algorithms/mindspore/fedavg.py
Lines 32 to 41 in c238f2d
The only other location that requires a little bit of work to make sure fedavg
works correctly is to implement the trainer.zeros()
function to initialize a numpy-based zeros array. An example is shown in trainers/mindspore/basic.py
:
plato/plato/trainers/mindspore/basic.py
Lines 60 to 64 in c238f2d
from plato.
Related Issues (20)
- [BUG] Split learning breaks with big partition size HOT 1
- [RFC] Question about your implementation HOT 1
- [RFC] Question about 3-layer FL HOT 1
- [RFC] Question about where to implement attack.
- [BUG] No config.yml file found HOT 1
- non iid data HOT 2
- objective function
- [BUG] A Typo in KNOT Example
- Query about reproducing the result of Port paper? HOT 1
- [BUG]
- [BUG] in HeteroFL, the accuracy of the global model does not change HOT 2
- Issue about FedAsync HOT 3
- Port implementation
- Repeatedly running the example in ./examples are not guaranteed to give the same result every time. HOT 1
- [BUG] `consistent_clients` config not works in `sampler: mixed_label_quantity_noniid` HOT 1
- 攻击代码实现 HOT 1
- FedNova HOT 1
- [BUG] no Report class
- Query on Port
- gradient_leakage_attacks - training
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plato.