yaodongyu / TRADES

TRADES (TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization)
MIT License
518 stars 123 forks source link

Specify proper types in ArgumentParser #31

Open hmomin opened 1 year ago

hmomin commented 1 year ago

Hi, please take a second to review my pull request.

Certain variables passed into argparse.ArgumentParser() (epsilon, num-steps, ...) need their types to be specified. Otherwise, changing them from their default values leads to errors, since they're automatically interpreted as strings instead.

Thank you, Momin