Comments (2)
Thanks for pointing out the bug and providing the details. The self.smart_weighting
is always a vector of ten 0.1 for each round at the beginning of the training because the agent adopts the FedAvg aggregation policy in FEI's design, and the parameter algorithm:start_steps
in yaml config file determines how many steps the agent conducts this policy prior to the RL policy. In the given config file, the numbers of data samples are the same over the clients, so the weighting will be evenly divided from 1 according to the FedAvg algorithm.
As for the bug, after I reproduced it, I conjectured that the error has something to do with the config file fei_FashionMNIST_lenet5.yml
you used with, which may not be compatible with the latest version of the framework due to certain parameter settings. And this is my fault that I failed to keep things updated on GitHub and to maintain a clear documentation of using FEI. I updated some example config files I'm currently using under directory examples/fei/
(for training FEI from scratch). The index error should not occur again with these config files. Also, I set data:variable_partition
to true there, so even at the beginning of the training with FedAvg aggregation policy, you're expected to see a more uneven value of self.smart_weighting
.
from plato.
Thank you for the detailed explanation. The error is now resolved. Thanks!
from plato.
Related Issues (20)
- [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
- [BUG]can not find paper for MistNet HOT 1
- AttributeError: 'Config' object has no attribute 'parameters'
- [BUG] ModuleNotFoundError: No module named 'plato.algorithms.tensorflow'
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.