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

Change train arg parser #112

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions src/deepdisc/utils/parse_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,17 @@ def make_training_arg_parser(epilog=None):
)
run_args.add_argument("--config-file", default="", metavar="FILE", help="path to config file")
run_args.add_argument(
"--data-dir",
"--train-metadata",
type=str,
default="/home/shared/hsc/HSC/HSC_DR3/data/",
help="directory with data",
help="path to training data",
)

run_args.add_argument(
"--eval-metadata",
type=str,
default="/home/shared/hsc/HSC/HSC_DR3/data/",
help="path to eval data",
)

run_args.add_argument("--eval-only", action="store_true", help="perform evaluation only")
Expand All @@ -110,9 +117,6 @@ def make_training_arg_parser(epilog=None):
)
run_args.add_argument("--run-name", type=str, default="Swin_test", help="output name for run")

# To differentiate the kind of run
run_args.add_argument("--use-dc2", default=False, action="store_true")
run_args.add_argument("--use-redshift", default=False, action="store_true")

# Add arguments for the machine specifications
machine_args = parser.add_argument_group("Machine arguments")
Expand Down
Loading