Skip to content

Commit

Permalink
change channel delimiter to ':' because ';' is used by bash
Browse files Browse the repository at this point in the history
  • Loading branch information
tlpss committed Sep 29, 2023
1 parent ff69764 commit 58f5937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keypoint_detection/tasks/train_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ def create_pl_trainer(hparams: dict, wandb_logger: WandbLogger) -> Trainer:

def parse_channel_configuration(channel_configuration: str) -> List[List[str]]:
assert isinstance(channel_configuration, str)
channels = channel_configuration.split(";")
channels = channel_configuration.split(":")
channels = [[category.strip() for category in channel.split("=")] for channel in channels]
return channels

0 comments on commit 58f5937

Please sign in to comment.