Skip to content

Commit

Permalink
Fix CLI parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jstjohn committed Oct 2, 2024
1 parent 846b744 commit a5ef4c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion scripts/protein/esm2/esm2_pretrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ def main(
wandb_group=args.wandb_group,
wandb_id=args.wandb_id,
wandb_anonymous=args.wandb_anonymous,
wandb_version=args.wandb_version,
wandb_log_model=args.wandb_log_model,
wandb_offline=args.wandb_offline,
num_steps=args.num_steps,
Expand Down
5 changes: 1 addition & 4 deletions scripts/singlecell/geneformer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,7 @@ def main(
parser.add_argument(
"--wandb-id", type=str, default=None, help="Sets the version, mainly used to resume a previous run"
)
parser.add_argument(
"--wandb-anonymous", type=str, action="store_true", help="Enable or explicitly disable anonymous logging"
)
parser.add_argument("--wandb-anonymous", action="store_true", help="Enable or explicitly disable anonymous logging")
parser.add_argument(
"--wandb-log-model", action="store_true", help="Save checkpoints in wandb dir to upload on W&B servers"
)
Expand Down Expand Up @@ -520,7 +518,6 @@ def config_class_type(desc: str) -> Type[BioBertGenericConfig]:
wandb_group=args.wandb_group,
wandb_id=args.wandb_id,
wandb_anonymous=args.wandb_anonymous,
wandb_version=args.wandb_version,
wandb_log_model=args.wandb_log_model,
wandb_offline=args.wandb_offline,
num_steps=args.num_steps,
Expand Down

0 comments on commit a5ef4c1

Please sign in to comment.