The accuracy of DPSGD_Kears only have 10%
Use DPSGD in the previous mnist_dpsgd_tutorial.py
There can be 90% accuracy in the file, but in mnist_dpsgd_tutorial_keras.py
The medium accuracy is about 10%. I did not modify the relevant code, but the result of DPSGD_keras does not seem to be correct

Thanks for the report-- I'll take a look.
Hi @Mrxulovemingming ,
Can you share your command line? I just tried this command line:
python3 code/tutorials/mnist_dpsgd_tutorial_keras.py
with no extra arguments and got this output:

Hello Schien, I use the same code as you. I run the code in the Spyder environment, and I did not modify anything in the code. As you can see, my running accuracy has been around 10%. I don't know if this is due to a problem with the version of the imported package.
This is the result I just ran
I used the CPU to run the code and got the same result as you. But the accuracy of running the GPU is still only 10%. What may be the reason for this. The CPU runs very slowly
Thanks for the extra information. I'm looking into it. By the way, is there an image missing in your last message?
I have solved this problem,when i using the tensorflow 2.2.0.The accuracy stay at 10%.But when I use the tensorflow 2.4.0 ,cuda 11.1,the result is the same as you