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 KumoLiu January 13, 2025 01:10
Copy link
Contributor

@KumoLiu KumoLiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, LGTM.

@KumoLiu KumoLiu enabled auto-merge (squash) January 13, 2025 02:47
@KumoLiu
Copy link
Contributor

KumoLiu commented Apr 7, 2025

@MaybeRichard
Copy link
Contributor Author

okay

auto-merge was automatically disabled April 9, 2025 01:32

Head branch was pushed to by a user without write access

@MaybeRichard
Copy link
Contributor Author

Something wrong with the current version, I resubmitted a new pull request

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