Skip to content

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

Closed

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

Activity

  1. added a commit that references this issue on Apr 12, 2024
    9e2904a
  2. added 3 commits that reference this issue on Apr 17, 2024
    30d9af4
    adc6f1e
    9166cf5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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