Comments (3)
pFedMe/FLAlgorithms/users/userperavg.py
Line 66 in 96863e0
Hi CharlieDinh, I' m Sorry to take up your time. Can you tell me why
self.get_next_test_batch()
is used to do the update in the first step and thenself.get_next_train_batch()
is used to do the update in the second step? Can I do both updates withself.get_next_train_batch()
?
se se fa dou, orz, ......
from pfedme.
Hi Sshpark, Sorry for the late reply. I've seen your comment yet.
Actually, PerFedAvg �requires a one-step update using the test data. So both should be get_next_test_batch. I updated the code.
from pfedme.
Hi Sshpark, Sorry for the late reply. I've seen your comment yet.
Actually, PerFedAvg �requires a one-step update using the test data. So both should be get_next_test_batch. I updated the code.
Thank you very much for your answer!
from pfedme.
Related Issues (18)
- Experiment image
- Unable to generate non-iid MNIST Data HOT 4
- why train loss will be nan? HOT 1
- pfedme Optimizer Probelem HOT 6
- In the Per-FedAvg experiments, there is always an unignorable gap between the accuracy of the actual experimental results and the expected accuracy provided under the same conditions. HOT 5
- Something maybe wrong in data/mnist/generate_niid_20users.py HOT 1
- Some mistakes in generating niid mnist data HOT 11
- Client's train method HOT 2
- A question in PerAvg algorithm HOT 1
- Question about pFedMeOptimizer. HOT 2
- About the Hessian Approximation
- Hello author, why did Loss become Nan after more than a dozen rounds of training?
- UserpFedMe class HOT 4
- Some questions about your peper and your code HOT 2
- Why does FedAvg only train on 1 batch in each local epoch? HOT 2
- Cifar-10 running error HOT 1
- Is Per-FedAvg implemented properly? HOT 11
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 pfedme.