From ef2839c066b5ea144fb9f60892ea40291462c2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20W=C3=A4lchli?= Date: Sat, 8 Aug 2020 18:43:14 +0200 Subject: [PATCH] obsolete arg --- pl_examples/domain_templates/imagenet.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pl_examples/domain_templates/imagenet.py b/pl_examples/domain_templates/imagenet.py index 672183f9651bd..2f82eb2af78e3 100644 --- a/pl_examples/domain_templates/imagenet.py +++ b/pl_examples/domain_templates/imagenet.py @@ -238,7 +238,7 @@ def main(args: Namespace) -> None: args.workers = int(args.workers / max(1, args.gpus)) model = ImageNetLightningModel(**vars(args)) - trainer = pl.Trainer.from_argparse_args(args, default_root_dir=args.save_path) + trainer = pl.Trainer.from_argparse_args(args) if args.evaluate: trainer.test(model) @@ -251,8 +251,6 @@ def run_cli(): parent_parser = pl.Trainer.add_argparse_args(parent_parser) parent_parser.add_argument('--data-path', metavar='DIR', type=str, help='path to dataset') - parent_parser.add_argument('--save-path', metavar='DIR', default=".", type=str, - help='path to save output') parent_parser.add_argument('-e', '--evaluate', dest='evaluate', action='store_true', help='evaluate model on validation set') parent_parser.add_argument('--seed', type=int, default=42,