Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the accuracy issue on the CIFAR10 dataset #4

Open
HuijiaLeung opened this issue Oct 15, 2024 · 0 comments
Open

Regarding the accuracy issue on the CIFAR10 dataset #4

HuijiaLeung opened this issue Oct 15, 2024 · 0 comments

Comments

@HuijiaLeung
Copy link

Hello teacher, thank you for open-source code.
I am a new student in the field of federated learning and have been replicating your work recently.

The data processing parameters I used when using the CIFAR10 dataset are as follows:
--n_tasks 50
--n_components -1
--alpha 0.4
--s_frac 1.0
--tr_frac 0.8
--seed 12345
Then use Wandb for training, with the following parameters:
fine_grained_block_split: values: [5]
sparse_factor_scheduler: values: [ constant ]
bz: values: [128]
Model_type: values: [cnn] # Use CNN model
Optimizer: values: [sgd, Adam] # Add Adam as optimizer option
lr_scheduler: values: [ reduce_on_plateau_40, multi_step, reduce_on_plateau]
block_wise_prune: value: 1
n_rounds: values: [400 ]
local_steps: values: [ 1]
Sparse_factor: values: [0.5] # Sparse factor set for CIFAR-10
Lr_madel: values: [0.01, 0.05, 0.1, 0.3] # Learning rate adjustment
lr_gating: values: [0.01, 0.05, 0.1, 0.3]

However, according to the results of node_agg/test/metric in Wandb, the training effect is getting worse and worse.

截屏2024-10-15 15 35 43

May I ask, teacher, at which stage may the problem have occurred in this situation?
In addition, during the training process, what indicators should I pay attention to on the client side?

Thank you for your reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant