We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb9ca4d commit 86bc3e5Copy full SHA for 86bc3e5
imagenet/main.py
@@ -15,6 +15,9 @@
15
import torchvision.datasets as datasets
16
import torchvision.models as models
17
18
+model_names = sorted(name for name in models.__dict__
19
+ if name.islower() and not name.startswith("__")
20
+ and callable(models.__dict__[name]))
21
22
parser = argparse.ArgumentParser(description='PyTorch ImageNet Training')
23
parser.add_argument('data', metavar='DIR',
0 commit comments