Skip to content

Commit 10d41fb

Browse files
committed
Disable DATA.N_CLASSES and TEST.BY_CHUNKS restriction
1 parent ba6895f commit 10d41fb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

biapy/engine/check_configuration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,8 +2139,6 @@ def sort_key(item):
21392139
], "'TEST.BY_CHUNKS.WORKFLOW_PROCESS.TYPE' needs to be in ['chunk_by_chunk', 'entire_pred']"
21402140
if len(cfg.DATA.TEST.INPUT_IMG_AXES_ORDER) < 3:
21412141
raise ValueError("'DATA.TEST.INPUT_IMG_AXES_ORDER' needs to be at least of length 3, e.g., 'ZYX'")
2142-
if cfg.DATA.N_CLASSES > 2:
2143-
raise ValueError("Not implemented pipeline option: 'DATA.N_CLASSES' > 2 and 'TEST.BY_CHUNKS'")
21442142
if cfg.DATA.TEST.INPUT_ZARR_MULTIPLE_DATA:
21452143
if cfg.DATA.TEST.INPUT_ZARR_MULTIPLE_DATA_RAW_PATH == "":
21462144
raise ValueError(

0 commit comments

Comments
 (0)