Skip to content

Setting arbitrary num_fold in AutoRunner is permitted regardless the Auto3DSeg datalist doesn't support #7628

Closed
@mingxin-zheng

Description

@mingxin-zheng

Describe the bug

The num_fold in AutoRunner is not checked in the Auto3DSeg pipeline. As a result, the BundleGen would create templated algorithms (dints_0, dints_1, dints_<num_fold>) even if there aren't num folds in the datalist.

To Reproduce

work_dir = "./work_dir"
input = "path/to/input_yaml"
runner = AutoRunner(work_dir=work_dir, input=input)
runner.set_num_fold(n_fold=10000)

Expected behavior
Should raise an error if the num fold exceeds the max

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions