Closed
Description
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