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

sd-finetuner skip broken images in dataset #168

Open
Rexwang8 opened this issue Mar 21, 2023 · 0 comments
Open

sd-finetuner skip broken images in dataset #168

Rexwang8 opened this issue Mar 21, 2023 · 0 comments
Assignees

Comments

@Rexwang8
Copy link
Contributor

Current when the sd-finetuner finds a image in the pvc dataset,

it will

  1. Expect it to be a square aspect ratio
  2. Expect the image to have a .txt pair with the same name

it will fail the entire process if either condition isn't filled on any image in the dataset.

It would be better if the image is skipped if either error occurs or it uses some form of logic to try and fix it first. (maybe generate a empty txt file or attempt to resize the image itself)

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

No branches or pull requests

2 participants