Created
May 26, 2021 12:40
-
-
Save eileen-code4fun/a81c8b65981c89c5f684344a527995f7 to your computer and use it in GitHub Desktop.
CIFAR10 Arg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--epochs', dest='epochs', type=int, default=5) | |
args = parser.parse_args() | |
# Refer to the argument as args.epochs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment