Skip to content

Commit

Permalink
Cleanup before merge, docstrings and such
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanklut committed Jan 15, 2025
1 parent ce11514 commit dc9b911
Show file tree
Hide file tree
Showing 9 changed files with 200 additions and 181 deletions.
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def setup_cfg(args, cfg: Optional[CfgNode] = None) -> CfgNode:

assert all(
len(i) == 2 and all(isinstance(i_i, str) for i_i in i) for i in cfg.PREPROCESS.OUTPUT
), "PREPROCESS.OUTPUT must be a list of tuples with two strings"
), "PREPROCESS.OUTPUT must be a list of tuples with two strings. Example [['image', 'png'], ['sem_seg', 'png']]"

# Deprecation warnings
if cfg.PREPROCESS.RESIZE.USE:
Expand Down
Loading

0 comments on commit dc9b911

Please sign in to comment.