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

AttributeError: The following layers do not have gradients #3

Open
Camelliavin opened this issue May 8, 2023 · 0 comments
Open

AttributeError: The following layers do not have gradients #3

Camelliavin opened this issue May 8, 2023 · 0 comments

Comments

@Camelliavin
Copy link

Camelliavin commented May 8, 2023

Thanks for providing the code. But when I'm running
python src/federated_main_s2.py --epochs=1 --num_users=1 --frac=1. --local_ep=100 --local_bs=50 --virtual_batch_size=50 --optimizer='sgd' --lr=0.001 --momentum=0.9 --dataset='dr' --dr_from_np=1 --withDP=1 --max_grad_norm=2. --noise_multiplier=1. --delta=1e-4
An error occurred:
1683532359036
Can someone tell me how to solve it? Thanks.

By the way, I would be very grateful if you could tell me in which article FL with Parallel DP (FPDP) was proposed.

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