Skip to content

Conversation

@MaybeRichard
Copy link
Contributor

Fixes # .

Description
The current documentation incorrectly states that "fold 0 is used for training" in the prepare_maisi_controlnet_json_dataloader function. In reality, the function uses the fold parameter to determine the validation set based on matching fold indices. Specifically, if a dataset item's fold value matches the fold value specified in config_maisi_controlnet_train.json, it is assigned to the validation set; otherwise, it is used for training.

Changes
Updated Documentation:
Revised the description of the fold parameter to accurately reflect its functionality.
Clarified that in the current parameter settings, fold 0 is designated for validation and fold 1 is designated for training.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ericspod ericspod requested a review from Can-Zhao April 17, 2025 23:07
@ericspod
Copy link
Member

Hi @Can-Zhao I think this something you've worked on, can you please review these changes? Thanks!

@MaybeRichard
Copy link
Contributor Author

Sorry, I saw the error in auto check and it's about installing dependencies, I don't know how to fix it.

@ericspod
Copy link
Member

Hi @MaybeRichard We're good to go here if you could please fix the DCO issue.

I, MaybeRichard <lisicheng168@gmail.com>, hereby add my Signed-off-by to this commit: e44f2e9

Signed-off-by: MaybeRichard <lisicheng168@gmail.com>
I, MaybeRichard <lisicheng168@gmail.com>, hereby add my Signed-off-by to this commit: e44f2e9

Signed-off-by: MaybeRichard <lisicheng168@gmail.com>
@MaybeRichard
Copy link
Contributor Author

ok, I already fixed it.

@ericspod ericspod merged commit fd86def into Project-MONAI:main May 7, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants