Skip to content
Snippets Groups Projects
Commit 99efa98d authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Fixed a bug: initialize by class list.

parent 558e5a74
No related branches found
No related tags found
No related merge requests found
...@@ -143,9 +143,9 @@ class DatasetConfig(BaseConfig): ...@@ -143,9 +143,9 @@ class DatasetConfig(BaseConfig):
tile_size: object tile_size: object
gt_pattern: str gt_pattern: str
sort: bool = False sort: bool = False
transforms: list = dataclasses.field(default_factory=[]) transforms: list = dataclasses.field(default_factory=list)
pad: bool = False pad: bool = False
merge_labels: dict = dataclasses.field(default_factory={}) merge_labels: dict = dataclasses.field(default_factory=list)
def __post_init__(self): def __post_init__(self):
"""Check the type of each argument. """Check the type of each argument.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment