Skip to content
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

Minor fixes #2480

Merged
merged 6 commits into from
May 11, 2024
Merged

Minor fixes #2480

merged 6 commits into from
May 11, 2024

Conversation

sangoi-exe
Copy link
Contributor

  1. Little fix to the validate_model_path function to properly handle a folder path. Currently, it errors out when a folder path is selected for a training with diffusers.

  2. Switching the validation type for the resume training state path from 'file' to 'folder'.

😊

bmaltais and others added 6 commits May 7, 2024 19:44
Little fix to the `validate_model_path` function to properly handle a folder path. Currently, it errors out when a folder path is selected for a training with diffusers. 😊
Switching the validation type for the resume training state path from 'file' to 'folder'.
😊
My last fix was wrong and was returning errors when using a default model or when the VAE was not defined. This new fix works with all possibilities.
However, when a diffusers folder is used, `validate_file_path` will show a failed check, but the operation will still succeed because `validate_folder_path` will return successfully.
@bmaltais bmaltais changed the base branch from master to dev May 11, 2024 00:08
@bmaltais bmaltais merged commit bfc2856 into bmaltais:dev May 11, 2024
1 check failed
@sangoi-exe
Copy link
Contributor Author

@bmaltais thanks! and sorry, forgot to select dev branch 😅

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