Skip to content

update error explanation in parameters fold in tutorials train_controlnet.ipynb #1974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

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.

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