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

Evaluation on Certified Accuracy and Standard Accuracy #3

Open
chauminhnguyen opened this issue Jun 30, 2023 · 2 comments
Open

Evaluation on Certified Accuracy and Standard Accuracy #3

chauminhnguyen opened this issue Jun 30, 2023 · 2 comments

Comments

@chauminhnguyen
Copy link

I am interested in your work and I have a question to ask you. How can I evaluate the model using certified accuracy and standard accuracy like in your paper? Thank you.

@damon-demon
Copy link
Owner

Hi. Thanks for your interest. You can check the AE_DS_certify.py file. The following is the command example:

python3 AE_DS_certify.py --dataset cifar10 --arch cifar_dncnn --encoder_arch cifar_encoder_192_24 --decoder_arch cifar_decoder_192_24 --base_classifier $pretrained_base_classifier --pretrained_denoiser $pretrained_denoiser  --pretrained-encoder $pretrained_encoder --pretrained-decoder $pretrained_decoder --sigma 0.25 --outfile ZO_AE_DS_lr-3_q192_Coord_NoSkip_CF_result/sigma_0.25 --batch 400 --N 10000 --skip 1 --l2radius 0.25

@chauminhnguyen
Copy link
Author

Thank you for your response; I ran that command and it just shows the STA. Sorry if I misunderstood the metrics, but could you help show me how to compute them?

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

2 participants